[arch-commits] Commit in tup/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Jul 27 21:01:17 UTC 2018
Date: Friday, July 27, 2018 @ 21:01:17
Author: anatolik
Revision: 363700
archrelease: copy trunk to community-x86_64
Added:
tup/repos/community-x86_64/PKGBUILD
(from rev 363699, tup/trunk/PKGBUILD)
tup/repos/community-x86_64/tup.install
(from rev 363699, tup/trunk/tup.install)
Deleted:
tup/repos/community-x86_64/PKGBUILD
tup/repos/community-x86_64/tup.install
-------------+
PKGBUILD | 88 +++++++++++++++++++++++++++++-----------------------------
tup.install | 54 +++++++++++++++++------------------
2 files changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-27 21:00:46 UTC (rev 363699)
+++ PKGBUILD 2018-07-27 21:01:17 UTC (rev 363700)
@@ -1,44 +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.6
-pkgrel=1
-pkgdesc='A fast, file-based build system'
-arch=(x86_64)
-url='http://gittup.org/tup/index.html'
-license=(GPL2)
-depends=(fuse2)
-install=tup.install
-source=($pkgname-$pkgver.zip::https://github.com/gittup/tup/archive/v$pkgver.zip)
-sha256sums=('9722f788510d05832e79e57736b40539fe139ff1a29f8ae0e37f2d8e173975da')
-
-prepare() {
- cd tup-$pkgver
-
- sed "s/\`git describe\`/$pkgver/" -i src/tup/version/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 init
- ./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
-}
Copied: tup/repos/community-x86_64/PKGBUILD (from rev 363699, tup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-27 21:01:17 UTC (rev 363700)
@@ -0,0 +1,44 @@
+# $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.7
+pkgrel=1
+pkgdesc='A fast, file-based build system'
+arch=(x86_64)
+url='http://gittup.org/tup/index.html'
+license=(GPL2)
+depends=(fuse2)
+install=tup.install
+source=($pkgname-$pkgver.zip::https://github.com/gittup/tup/archive/v$pkgver.zip)
+sha256sums=('a5ca609b13b2ba0888dc74c9000c2a10ec026c3c14a02e57784a920b762ca337')
+
+prepare() {
+ cd tup-$pkgver
+
+ sed "s/\`git describe\`/$pkgver/" -i src/tup/link.sh
+ 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 init
+ ./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: tup.install
===================================================================
--- tup.install 2018-07-27 21:00:46 UTC (rev 363699)
+++ tup.install 2018-07-27 21:01:17 UTC (rev 363700)
@@ -1,27 +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)."
- else
- echo ">>> If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)"
- echo " set suid bit on tup binary: 'sudo chmod +s $binary'."
- fi
-}
-
-pre_upgrade() {
- [ -u $binary ] && touch $suid_set
- return 0
-}
-
-post_install() {
- suid_msg
- return 0
-}
-
-post_upgrade() {
- [ -f $suid_set ] && chmod +s $binary
- rm -f $suid_set
- return 0
-}
Copied: tup/repos/community-x86_64/tup.install (from rev 363699, tup/trunk/tup.install)
===================================================================
--- tup.install (rev 0)
+++ tup.install 2018-07-27 21:01:17 UTC (rev 363700)
@@ -0,0 +1,27 @@
+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)."
+ else
+ echo ">>> If you want to be able to run commands in chroot-ed environment (e.g. for full dependency tracking)"
+ echo " set suid bit on tup binary: 'sudo chmod +s $binary'."
+ fi
+}
+
+pre_upgrade() {
+ [ -u $binary ] && touch $suid_set
+ return 0
+}
+
+post_install() {
+ suid_msg
+ return 0
+}
+
+post_upgrade() {
+ [ -f $suid_set ] && chmod +s $binary
+ rm -f $suid_set
+ return 0
+}
More information about the arch-commits
mailing list