[arch-commits] Commit in sdparm/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 8 12:41:49 UTC 2020
Date: Sunday, March 8, 2020 @ 12:41:49
Author: felixonmars
Revision: 377180
archrelease: copy trunk to testing-x86_64
Added:
sdparm/repos/testing-x86_64/
sdparm/repos/testing-x86_64/PKGBUILD
(from rev 377179, sdparm/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: sdparm/repos/testing-x86_64/PKGBUILD (from rev 377179, sdparm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-03-08 12:41:49 UTC (rev 377180)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=sdparm
+pkgver=1.11
+pkgrel=1
+pkgdesc="An utility similar to hdparm but for SCSI devices"
+arch=('x86_64')
+url="http://sg.danny.cz/sg/sdparm.html"
+license=('BSD')
+depends=('glibc' 'bash')
+source=(http://sg.danny.cz/sg/p/${pkgname}-${pkgver}.tar.xz)
+sha512sums=('5b292e03e7260ea484871cb8cb779372a503c817de427623d2fde88dc175a2f0434f6bc782eaefd8d82af497fc75b5ca4386b22933e3e1333276e396944028a5')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list