Date: Monday, November 7, 2022 @ 06:36:32
  Author: grawlinson
Revision: 1345744

archrelease: copy trunk to community-x86_64

Added:
  rlwrap/repos/community-x86_64/PKGBUILD
    (from rev 1345743, rlwrap/trunk/PKGBUILD)
Deleted:
  rlwrap/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   93 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 53 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-07 06:32:56 UTC (rev 1345743)
+++ PKGBUILD    2022-11-07 06:36:32 UTC (rev 1345744)
@@ -1,40 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: wizzomafizzo <[email protected]>
-# Contributor: Mateusz Herych <[email protected]>
-# Contributor: Benjamin Andresen <benny AT klapmuetz DOT org>
-# Contributor: Douglas Thrift <[email protected]>
-
-pkgname=rlwrap
-pkgver=0.46
-pkgrel=1
-pkgdesc='Adds readline-style editing and history to programs'
-arch=('x86_64')
-url='https://github.com/hanslub42/rlwrap'
-license=('GPL')
-depends=('glibc' 'readline' 'ncurses' 'perl')
-optdepends=('python: filters')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('407cbfae8aae6042726572e6950c8e3439ee6eaa7a909fd3a7001d3e8725461c811f670b98f11e89a932624a82ab62767867355c8161e30b852e995398d72e5c')
-b2sums=('e6a6193a3956c8e7f262da2eae85d8b679267888e0641f5aefd381a92a49d445083c2280cb7db7c74faff8a762875ee425b0fc399beeb553f6109812fe64b83d')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  autoreconf -vi
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  make check
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: rlwrap/repos/community-x86_64/PKGBUILD (from rev 1345743, 
rlwrap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-07 06:36:32 UTC (rev 1345744)
@@ -0,0 +1,53 @@
+# Maintainer: Kyle Keen <[email protected]>
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: wizzomafizzo <[email protected]>
+# Contributor: Mateusz Herych <[email protected]>
+# Contributor: Benjamin Andresen <benny AT klapmuetz DOT org>
+# Contributor: Douglas Thrift <[email protected]>
+
+pkgname=rlwrap
+pkgver=0.46.1
+pkgrel=1
+pkgdesc='Adds readline-style editing and history to programs'
+arch=('x86_64')
+url='https://github.com/hanslub42/rlwrap'
+license=('GPL')
+depends=('glibc' 'readline' 'ncurses' 'perl')
+makedepends=('git')
+optdepends=('python: filters')
+options=('debug')
+_commit='8c7086dd2385bb307cdadb893f2566b4e8da8ad9'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  autoreconf -vi
+}
+
+build() {
+  cd "$pkgname"
+
+  ./configure --prefix=/usr
+
+  make
+}
+
+check() {
+  cd "$pkgname"
+
+  make check
+}
+
+package() {
+  cd "$pkgname"
+
+  make DESTDIR="$pkgdir" install
+}

Reply via email to