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

Anatol Pomozov anatolik at archlinux.org
Fri Oct 5 23:47:15 UTC 2018


    Date: Friday, October 5, 2018 @ 23:47:14
  Author: anatolik
Revision: 335865

archrelease: copy trunk to community-x86_64

Added:
  sg3_utils/repos/community-x86_64/
  sg3_utils/repos/community-x86_64/PKGBUILD
    (from rev 335864, sg3_utils/trunk/PKGBUILD)

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

Copied: sg3_utils/repos/community-x86_64/PKGBUILD (from rev 335864, sg3_utils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-10-05 23:47:14 UTC (rev 335865)
@@ -0,0 +1,25 @@
+# Maintainer: Daniel Isenmann <daniel at archlinux.org>
+
+pkgname=sg3_utils
+pkgver=1.44
+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=('4f4d5536ebed62f2c81c55741043d9ac3f4610a4dd6ef2e3125f041afd57aae03a32c2affe84a960c9f61fb6f84784bc901c756a8c36c1bc97082fa61e73ae8d')
+
+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