[arch-commits] Commit in libasr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sat Oct 26 17:06:43 UTC 2019
Date: Saturday, October 26, 2019 @ 17:06:42
Author: archange
Revision: 520433
archrelease: copy trunk to community-x86_64
Added:
libasr/repos/community-x86_64/PKGBUILD
(from rev 520432, libasr/trunk/PKGBUILD)
Deleted:
libasr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 33 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-26 17:06:32 UTC (rev 520432)
+++ PKGBUILD 2019-10-26 17:06:42 UTC (rev 520433)
@@ -1,31 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer 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')
-url="http://www.opensmtpd.org/"
-license=('BSD')
-depends=('libevent' 'openssl')
-provides=('libasr')
-source=("https://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz")
-sha256sums=('a6f5d1c6306938156da3427525572b9b16c1e6be6c69845d390bb63f41a58b34')
-
-build() {
- cd "$srcdir/$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"
-}
-
Copied: libasr/repos/community-x86_64/PKGBUILD (from rev 520432, libasr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-26 17:06:42 UTC (rev 520433)
@@ -0,0 +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.3
+pkgrel=1
+pkgdesc="Free, simple and portable asynchronous resolver library."
+arch=(x86_64)
+url="https://www.opensmtpd.org/"
+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 ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ 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