[arch-commits] Commit in libasr/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sat Oct 26 17:06:33 UTC 2019


    Date: Saturday, October 26, 2019 @ 17:06:32
  Author: archange
Revision: 520432

upgpkg: libasr 1.0.3-1

Upstream update.
Clean PKGBUILD, remove very old deps, use autoreconf.

Modified:
  libasr/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-26 17:01:34 UTC (rev 520431)
+++ PKGBUILD	2019-10-26 17:06:32 UTC (rev 520432)
@@ -1,31 +1,33 @@
 # Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
 
 pkgname=libasr
-pkgver=1.0.2
-pkgrel=3
-pkgdesc='A free, simple and portable asynchronous resolver library.'
-arch=('x86_64')
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Free, simple and portable asynchronous resolver library."
+arch=(x86_64)
 url="https://www.opensmtpd.org/"
-license=('BSD')
-depends=('libevent' 'openssl')
-provides=('libasr')
-source=("https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz")
-sha256sums=('a6f5d1c6306938156da3427525572b9b16c1e6be6c69845d390bb63f41a58b34')
+license=(BSD)
+depends=(glibc)
+#source=("https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz")
+source=("https://github.com/OpenSMTPD/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('9cd88e0172e6d426438875e09229d1d473d56db546d02b630f9dd14db226d68d')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -vfi
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="${pkgdir}/" install
-
-  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENCE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+  install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}/
 }
- 



More information about the arch-commits mailing list