[arch-commits] Commit in snarf/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:07:57 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:07:57
  Author: foutrelis
Revision: 383768

archrelease: copy trunk to staging-x86_64

Added:
  snarf/repos/staging-x86_64/
  snarf/repos/staging-x86_64/PKGBUILD
    (from rev 383767, snarf/trunk/PKGBUILD)

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

Copied: snarf/repos/staging-x86_64/PKGBUILD (from rev 383767, snarf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 09:07:57 UTC (rev 383768)
@@ -0,0 +1,24 @@
+# Maintainer:
+
+pkgname=snarf
+pkgver=7.0
+pkgrel=8
+pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
+arch=('x86_64')
+url="https://www.xach.com/snarf/"
+license=('GPL')
+depends=('glibc')
+source=(https://www.xach.com/snarf/download/source/${pkgname}-${pkgver}.tar.gz)
+md5sums=('7470d8457bc0d347b5cd8668c9e735c4')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}


More information about the arch-commits mailing list