[arch-commits] Commit in tup/repos (8 files)
Anatol Pomozov
anatolik at nymeria.archlinux.org
Thu Mar 27 18:40:37 UTC 2014
Date: Thursday, March 27, 2014 @ 19:40:37
Author: anatolik
Revision: 108525
archrelease: copy trunk to community-i686, community-x86_64
Added:
tup/repos/community-i686/PKGBUILD
(from rev 108524, tup/trunk/PKGBUILD)
tup/repos/community-i686/tup.install
(from rev 108524, tup/trunk/tup.install)
tup/repos/community-x86_64/PKGBUILD
(from rev 108524, tup/trunk/PKGBUILD)
tup/repos/community-x86_64/tup.install
(from rev 108524, tup/trunk/tup.install)
Deleted:
tup/repos/community-i686/PKGBUILD
tup/repos/community-i686/tup.install
tup/repos/community-x86_64/PKGBUILD
tup/repos/community-x86_64/tup.install
------------------------------+
/PKGBUILD | 86 +++++++++++++++++++++++++++++++++++++++++
/tup.install | 60 ++++++++++++++++++++++++++++
community-i686/PKGBUILD | 38 ------------------
community-i686/tup.install | 30 --------------
community-x86_64/PKGBUILD | 38 ------------------
community-x86_64/tup.install | 30 --------------
6 files changed, 146 insertions(+), 136 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-03-27 18:39:50 UTC (rev 108524)
+++ community-i686/PKGBUILD 2014-03-27 18:40:37 UTC (rev 108525)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at 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
-}
Copied: tup/repos/community-i686/PKGBUILD (from rev 108524, tup/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-03-27 18:40:37 UTC (rev 108525)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at 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.2
+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=('983edc872d9764037ac5591e9a89fb7273ee05b650d562a52626c1096e5288dc')
+
+prepare() {
+ cd tup-$pkgver
+
+ sed "s/\`git describe\`/$pkgver/" -i Tupfile
+ echo "CFLAGS += $CFLAGS" >> Tuprules.tup
+ echo "LDFLAGS += $LDFLAGS" >> Tuprules.tup
+}
+
+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() {
+ 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 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
+}
Deleted: community-i686/tup.install
===================================================================
--- community-i686/tup.install 2014-03-27 18:39:50 UTC (rev 108524)
+++ community-i686/tup.install 2014-03-27 18:40:37 UTC (rev 108525)
@@ -1,30 +0,0 @@
-suid_set=tmp/tup.upgrade.suid_set
-binary=/usr/bin/tup
-
-suid_msg() {
- if [ -f $suid_set ]; then
- echo "$binary has suid bit set. It allows you to run commands in chroot-ed environment (e.g. for full dependency tracking)."
- echo "See 'man tup' for more information."
- else
- echo "If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)" \
- "you need to set suid bit on tup binary: 'sudo chmod +s $binary'."
- echo "See 'man tup' for more information."
- fi
-}
-
-pre_upgrade() {
- [ -u $binary ] && touch $suid_set
- return 0
-}
-
-post_install() {
- suid_msg
- return 0
-}
-
-post_upgrade() {
- suid_msg
- [ -f $suid_set ] && chmod +s $binary
- rm -f $suid_set
- return 0
-}
Copied: tup/repos/community-i686/tup.install (from rev 108524, tup/trunk/tup.install)
===================================================================
--- community-i686/tup.install (rev 0)
+++ community-i686/tup.install 2014-03-27 18:40:37 UTC (rev 108525)
@@ -0,0 +1,30 @@
+suid_set=tmp/tup.upgrade.suid_set
+binary=/usr/bin/tup
+
+suid_msg() {
+ if [ -f $suid_set ]; then
+ echo "$binary has suid bit set. It allows you to run commands in chroot-ed environment (e.g. for full dependency tracking)."
+ echo "See 'man tup' for more information."
+ else
+ echo "If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)" \
+ "you need to set suid bit on tup binary: 'sudo chmod +s $binary'."
+ echo "See 'man tup' for more information."
+ fi
+}
+
+pre_upgrade() {
+ [ -u $binary ] && touch $suid_set
+ return 0
+}
+
+post_install() {
+ suid_msg
+ return 0
+}
+
+post_upgrade() {
+ suid_msg
+ [ -f $suid_set ] && chmod +s $binary
+ rm -f $suid_set
+ return 0
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-03-27 18:39:50 UTC (rev 108524)
+++ community-x86_64/PKGBUILD 2014-03-27 18:40:37 UTC (rev 108525)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at 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
-}
Copied: tup/repos/community-x86_64/PKGBUILD (from rev 108524, tup/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-03-27 18:40:37 UTC (rev 108525)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at 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.2
+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=('983edc872d9764037ac5591e9a89fb7273ee05b650d562a52626c1096e5288dc')
+
+prepare() {
+ cd tup-$pkgver
+
+ sed "s/\`git describe\`/$pkgver/" -i Tupfile
+ echo "CFLAGS += $CFLAGS" >> Tuprules.tup
+ echo "LDFLAGS += $LDFLAGS" >> Tuprules.tup
+}
+
+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() {
+ 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 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
+}
Deleted: community-x86_64/tup.install
===================================================================
--- community-x86_64/tup.install 2014-03-27 18:39:50 UTC (rev 108524)
+++ community-x86_64/tup.install 2014-03-27 18:40:37 UTC (rev 108525)
@@ -1,30 +0,0 @@
-suid_set=tmp/tup.upgrade.suid_set
-binary=/usr/bin/tup
-
-suid_msg() {
- if [ -f $suid_set ]; then
- echo "$binary has suid bit set. It allows you to run commands in chroot-ed environment (e.g. for full dependency tracking)."
- echo "See 'man tup' for more information."
- else
- echo "If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)" \
- "you need to set suid bit on tup binary: 'sudo chmod +s $binary'."
- echo "See 'man tup' for more information."
- fi
-}
-
-pre_upgrade() {
- [ -u $binary ] && touch $suid_set
- return 0
-}
-
-post_install() {
- suid_msg
- return 0
-}
-
-post_upgrade() {
- suid_msg
- [ -f $suid_set ] && chmod +s $binary
- rm -f $suid_set
- return 0
-}
Copied: tup/repos/community-x86_64/tup.install (from rev 108524, tup/trunk/tup.install)
===================================================================
--- community-x86_64/tup.install (rev 0)
+++ community-x86_64/tup.install 2014-03-27 18:40:37 UTC (rev 108525)
@@ -0,0 +1,30 @@
+suid_set=tmp/tup.upgrade.suid_set
+binary=/usr/bin/tup
+
+suid_msg() {
+ if [ -f $suid_set ]; then
+ echo "$binary has suid bit set. It allows you to run commands in chroot-ed environment (e.g. for full dependency tracking)."
+ echo "See 'man tup' for more information."
+ else
+ echo "If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)" \
+ "you need to set suid bit on tup binary: 'sudo chmod +s $binary'."
+ echo "See 'man tup' for more information."
+ fi
+}
+
+pre_upgrade() {
+ [ -u $binary ] && touch $suid_set
+ return 0
+}
+
+post_install() {
+ suid_msg
+ return 0
+}
+
+post_upgrade() {
+ suid_msg
+ [ -f $suid_set ] && chmod +s $binary
+ rm -f $suid_set
+ return 0
+}
More information about the arch-commits
mailing list