Date: Tuesday, September 18, 2018 @ 17:37:11
  Author: felixonmars
Revision: 334896

archrelease: copy trunk to testing-x86_64

Added:
  sg3_utils/repos/testing-x86_64/
  sg3_utils/repos/testing-x86_64/PKGBUILD
    (from rev 334895, sg3_utils/trunk/PKGBUILD)

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

Copied: sg3_utils/repos/testing-x86_64/PKGBUILD (from rev 334895, 
sg3_utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-09-18 17:37:11 UTC (rev 334896)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Isenmann <[email protected]>
+
+pkgname=sg3_utils
+pkgver=1.43
+pkgrel=1
+pkgdesc="Generic SCSI utilities"
+arch=(x86_64)
+url="http://sg.danny.cz/sg/sg3_utils.html";
+license=('GPL' 'custom:BSD')
+depends=('glibc')
+source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
+sha512sums=('0b09446b998e156ad1b368450cc8d9311b60b2adccf3f4238ba1eb2ce040bdc632f7b5264950fec52822862aa338790be5d6c01cb43c6a417e25cf652f76ac60')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Reply via email to