[arch-commits] Commit in renameutils/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:07:01 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:07:01
  Author: felixonmars
Revision: 658338

archrelease: copy trunk to community-staging-x86_64

Added:
  renameutils/repos/community-staging-x86_64/
  renameutils/repos/community-staging-x86_64/PKGBUILD
    (from rev 658337, renameutils/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: renameutils/repos/community-staging-x86_64/PKGBUILD (from rev 658337, renameutils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:07:01 UTC (rev 658338)
@@ -0,0 +1,33 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Patrik Hautala <phloyd at iki.fi>
+
+pkgname=renameutils
+pkgver=0.12.0
+pkgrel=7
+pkgdesc="A set of programs designed to make renaming of files faster and less cumbersome"
+arch=('x86_64')
+url="https://www.nongnu.org/renameutils/"
+license=('GPL')
+depends=('readline')
+source=(https://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+sha256sums=('cbd2f002027ccf5a923135c3f529c6d17fabbca7d85506a394ca37694a9eb4a3'
+            'SKIP')
+validpgpkeys=('4E6E6521EF300E30457D7AFB8AAAC30E7088EFCB') # Oskar Liljeblad <oskar at osk.mine.nu>
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver/src"
+  sed -i 's/($bindir)/$(bindir)/' Makefile.am
+  sed -i 's/($bindir)/$(bindir)/' Makefile.in
+
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package () {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  install -d "$pkgdir/usr/bin"
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list