[arch-commits] Commit in tup/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Nov 5 21:52:24 UTC 2020
Date: Thursday, November 5, 2020 @ 21:52:23
Author: anatolik
Revision: 743554
archrelease: copy trunk to community-x86_64
Added:
tup/repos/community-x86_64/PKGBUILD
(from rev 743553, tup/trunk/PKGBUILD)
tup/repos/community-x86_64/tup.install
(from rev 743553, tup/trunk/tup.install)
Deleted:
tup/repos/community-x86_64/PKGBUILD
tup/repos/community-x86_64/tup.install
-------------+
PKGBUILD | 86 +++++++++++++++++++++++++++++-----------------------------
tup.install | 54 ++++++++++++++++++------------------
2 files changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-05 21:52:07 UTC (rev 743553)
+++ PKGBUILD 2020-11-05 21:52:23 UTC (rev 743554)
@@ -1,43 +0,0 @@
-# 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.9
-pkgrel=1
-pkgdesc='A fast, file-based build system'
-arch=(x86_64)
-url='http://gittup.org/tup/index.html'
-license=(GPL2)
-depends=(fuse2 pcre)
-install=tup.install
-source=($pkgname-$pkgver.tar.gz::https://github.com/gittup/tup/archive/v$pkgver.tar.gz)
-sha256sums=('9b0951afaa749186eb55d88860405b2f6b3d88632d1b5df1ec4a0bf973d8d326')
-
-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
-}
Copied: tup/repos/community-x86_64/PKGBUILD (from rev 743553, tup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-05 21:52:23 UTC (rev 743554)
@@ -0,0 +1,43 @@
+# 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.10
+pkgrel=1
+pkgdesc='A fast, file-based build system'
+arch=(x86_64)
+url='http://gittup.org/tup/index.html'
+license=(GPL2)
+depends=(fuse3 pcre)
+install=tup.install
+source=($pkgname-$pkgver.tar.gz::https://github.com/gittup/tup/archive/v$pkgver.tar.gz)
+sha256sums=('c80946bc772ae4a5170855e907c866dae5040620e81ee1a590223bdbdf65f0f8')
+
+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 2020-11-05 21:52:07 UTC (rev 743553)
+++ tup.install 2020-11-05 21:52:23 UTC (rev 743554)
@@ -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 743553, tup/trunk/tup.install)
===================================================================
--- tup.install (rev 0)
+++ tup.install 2020-11-05 21:52:23 UTC (rev 743554)
@@ -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