aboutsummaryrefslogtreecommitdiffstats
path: root/community/lsscsi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lsscsi/APKBUILD')
-rw-r--r--community/lsscsi/APKBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/community/lsscsi/APKBUILD b/community/lsscsi/APKBUILD
index 7c9cfee6fc..72005f29c8 100644
--- a/community/lsscsi/APKBUILD
+++ b/community/lsscsi/APKBUILD
@@ -5,36 +5,30 @@ pkgrel=0
pkgdesc="Lists information about SCSI devices"
url="http://sg.danny.cz/scsi/lsscsi.html"
arch="all"
-license="GPL"
+license="GPL-2.0-or-later"
depends=
makedepends="linux-headers"
install=
subpackages="$pkgname-doc"
-source="http://sg.danny.cz/scsi/$pkgname-$pkgver.tgz"
+source="http://sg.danny.cz/scsi/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir"/$pkgname-${pkgver/./}r154
-
-#prepare() {
-# cd "$_builddir"
-# apply patches here
-#}
+builddir="$srcdir"/$pkgname-${pkgver/./}r154
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="ea1ba2bd2892b7e7feff0bf08ea09ffcdc38d21e4dba2cdce598d8ffde926a5908f2d02116d692bf4747b76c76c1c35974569583cb2da75eb49553959368dc76 lsscsi-0.30.tgz"
+sha512sums="255bf961e6f8db40553748dbfcabac9410517bd1c83d23f95a94ce7f14f00c9cec00d37424f0f2a120c800fa410b362902f9988042b264e14089ff957cd7077d lsscsi-0.30.tar.xz"