[arch-commits] Commit in tup/trunk (PKGBUILD)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Thu Mar 27 18:39:50 UTC 2014
Date: Thursday, March 27, 2014 @ 19:39:50
Author: anatolik
Revision: 108524
upgpkg: tup 0.7.2-1
./build.sh that we were using does not enable all tup features (e.g. inotify monitor).
Use 'tup generate' that will do the same as 'tup upd' but with without using fuse.
Modified:
tup/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-27 18:03:37 UTC (rev 108523)
+++ PKGBUILD 2014-03-27 18:39:50 UTC (rev 108524)
@@ -4,7 +4,7 @@
# Contributor: Patrick McCarty <pnorcks at gmail dot com>
pkgname=tup
-pkgver=0.7.1
+pkgver=0.7.2
pkgrel=1
pkgdesc='A fast, file-based build system'
arch=(i686 x86_64)
@@ -13,18 +13,23 @@
depends=(fuse)
install=tup.install
source=(https://github.com/gittup/tup/archive/v$pkgver.zip)
-sha256sums=('9c9107bc1ea2ee18fdd706fd870deec155c45655b1199492d1a14ccbc498a918')
+sha256sums=('983edc872d9764037ac5591e9a89fb7273ee05b650d562a52626c1096e5288dc')
-build() {
+prepare() {
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
+
+ sed "s/\`git describe\`/$pkgver/" -i Tupfile
+ echo "CFLAGS += $CFLAGS" >> Tuprules.tup
+ echo "LDFLAGS += $LDFLAGS" >> Tuprules.tup
}
-check() {
- cd tup-$pkgver/test
- #./test.sh
+build() {
+ cd tup-$pkgver
+
+ # Clean environment does not allow to use fuse so ./bootstrap does not work
+ ./build.sh
+ ./build/tup generate runme.sh
+ ./runme.sh
}
package() {
@@ -31,7 +36,7 @@
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 -m755 -t "$pkgdir"/usr/bin 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
More information about the arch-commits
mailing list