diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-23 16:15:08 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-23 16:15:08 -0300 |
commit | 44ae571c1d57a21af2c915b42bb656cf0d69c9ee (patch) | |
tree | 757e53f443e27a95d1b1b0cdf337c2147953fc46 /community/tup/PKGBUILD | |
parent | eadbb9961b89668e4aed317f5dd97cb04e86663e (diff) | |
parent | 1d20e4962664ab152948a14b4320b12204a1053e (diff) |
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts:
community/libftdi/PKGBUILD
community/lxshortcut/PKGBUILD
community/pcmanfm/PKGBUILD
community/qingy/PKGBUILD
community/yagf/PKGBUILD
extra/ethtool/PKGBUILD
extra/gptfdisk/PKGBUILD
extra/postgresql/PKGBUILD
extra/xfburn/PKGBUILD
libre/linux-libre/PKGBUILD
Diffstat (limited to 'community/tup/PKGBUILD')
-rw-r--r-- | community/tup/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/tup/PKGBUILD b/community/tup/PKGBUILD new file mode 100644 index 000000000..288994aa8 --- /dev/null +++ b/community/tup/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Arvid Norlander <anmaster A_T tele2 d_o_t (ccTLD for Sweden, which is se)> +# Contributor: Patrick McCarty <pnorcks at gmail dot com> + +pkgname=tup +pkgver=0.7.1 +pkgrel=1 +pkgdesc='A fast, file-based build system' +arch=(i686 x86_64) +url='http://gittup.org/tup/index.html' +license=(GPL2) +depends=(fuse) +install=tup.install +source=(https://github.com/gittup/tup/archive/v$pkgver.zip) +sha256sums=('9c9107bc1ea2ee18fdd706fd870deec155c45655b1199492d1a14ccbc498a918') + +build() { + cd tup-$pkgver + # We can't run tup itself here as it requires fuse, but fuse is not available + # in clean chroot environment. Use bootstrapped version of tup. + TUP_LABEL=$pkgver ./build.sh +} + +check() { + cd tup-$pkgver/test + #./test.sh +} + +package() { + cd tup-$pkgver + + install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/share/vim/vimfiles/{syntax,ftdetect} + install -m755 -t "$pkgdir"/usr/bin build/tup + install -m644 -t "$pkgdir"/usr/share/man/man1 tup.1 + install -m644 -t "$pkgdir"/usr/share/vim/vimfiles/syntax contrib/syntax/tup.vim + echo 'au BufNewFile,BufRead Tupfile,*.tup setf tup' > "$pkgdir"/usr/share/vim/vimfiles/ftdetect/tup.vim +} |