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

Antonio Rojas arojas at archlinux.org
Sun Apr 18 08:39:24 UTC 2021


    Date: Sunday, April 18, 2021 @ 08:39:23
  Author: arojas
Revision: 412856

archrelease: copy trunk to staging-x86_64

Added:
  sg3_utils/repos/staging-x86_64/
  sg3_utils/repos/staging-x86_64/PKGBUILD
    (from rev 412855, sg3_utils/trunk/PKGBUILD)

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

Copied: sg3_utils/repos/staging-x86_64/PKGBUILD (from rev 412855, sg3_utils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-04-18 08:39:23 UTC (rev 412856)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=sg3_utils
+pkgver=1.46
+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=('0b4caab97ccc11fb45e88219e460b37c6ff69b8f3c79e513279aef51783ff22399d141253abdbf55db198db0815bc39d30e9b1e3bd7dda5e15c5f4dae3fe89cf')
+
+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}/"
+}



More information about the arch-commits mailing list