[arch-commits] Commit in tup/repos/community-x86_64 (4 files)

Anatol Pomozov anatolik at archlinux.org
Thu Jun 3 17:33:33 UTC 2021


    Date: Thursday, June 3, 2021 @ 17:33:32
  Author: anatolik
Revision: 955711

archrelease: copy trunk to community-x86_64

Added:
  tup/repos/community-x86_64/PKGBUILD
    (from rev 955710, tup/trunk/PKGBUILD)
  tup/repos/community-x86_64/tup.install
    (from rev 955710, 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	2021-06-03 17:32:17 UTC (rev 955710)
+++ PKGBUILD	2021-06-03 17:33:32 UTC (rev 955711)
@@ -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.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
-}

Copied: tup/repos/community-x86_64/PKGBUILD (from rev 955710, tup/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-03 17:33:32 UTC (rev 955711)
@@ -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.11
+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=('be24dff5f1f32cc85c73398487a756b4a393adab5e4d8500fd5164909d3e85b9')
+
+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	2021-06-03 17:32:17 UTC (rev 955710)
+++ tup.install	2021-06-03 17:33:32 UTC (rev 955711)
@@ -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 955710, tup/trunk/tup.install)
===================================================================
--- tup.install	                        (rev 0)
+++ tup.install	2021-06-03 17:33:32 UTC (rev 955711)
@@ -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