Date: Tuesday, March 10, 2020 @ 17:58:59
  Author: anatolik
Revision: 377328

archrelease: copy trunk to testing-x86_64

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

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

Copied: sg3_utils/repos/testing-x86_64/PKGBUILD (from rev 377327, 
sg3_utils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2020-03-10 17:58:59 UTC (rev 377328)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Isenmann <[email protected]>
+
+pkgname=sg3_utils
+pkgver=1.45
+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=('fa25dedc447154d33937248a856af9a7ef380dda282a681d465a57d7dfc24b6c0409fa06aabf8cc28ba191e91db80fed0757b45212eddf713855574b48a97868')
+
+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