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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:21:21 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:21:21
  Author: foutrelis
Revision: 660359

archrelease: copy trunk to community-staging-x86_64

Added:
  barcode/repos/community-staging-x86_64/
  barcode/repos/community-staging-x86_64/PKGBUILD
    (from rev 660358, barcode/trunk/PKGBUILD)

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

Copied: barcode/repos/community-staging-x86_64/PKGBUILD (from rev 660358, barcode/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:21:21 UTC (rev 660359)
@@ -0,0 +1,28 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=barcode
+pkgver=0.99
+pkgrel=5
+pkgdesc="A tool to convert text strings to printed bars"
+arch=('x86_64')
+url="https://www.gnu.org/software/barcode/"
+license=('GPL')
+depends=('glibc')
+source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('cdc504ee1020e27fbfeebcb0718de054')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
+  ./configure --prefix=/usr
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix="${pkgdir}/usr" install
+}



More information about the arch-commits mailing list