Skip to content

Instantly share code, notes, and snippets.

@git-commit
Created August 27, 2014 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save git-commit/6255a9722aa87fda783a to your computer and use it in GitHub Desktop.
Save git-commit/6255a9722aa87fda783a to your computer and use it in GitHub Desktop.
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Maximilian Berger <snowdragon92@gmail.com>
pkgname=tiddlywiki
pkgver=5.0.15_beta
pkgrel=1
pkgdesc='Personal wiki where everything is in one html-file'
arch=('x86_64' 'i686')
url='http://www.tiddlywiki.com/'
license=('BSD')
depends=('xdg-utils')
source=('http://www.tiddlywiki.com/empty.html'
'tiddlywiki.py')
sha256sums=('7e4dc9b7fc7954574fcd820373bac6c6c318c77e06669fc4a440dded76122b8b'
'4ee38d6984da5d39423e4fbbdf0bc7acf23a30f1861fb09cf9da0ad2a07c31e0')
build() {
cat empty.html | head -43 | tail -27 > COPYING
}
package() {
install -d "$pkgdir/usr/share/tiddlywiki"
install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
install -Dm644 empty.html "$pkgdir/usr/share/tiddlywiki/empty.html"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment