aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-26 08:42:21 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-08-30 16:00:09 +0000
commit46abd9ffb41901b3f32975a0871cdb9a920e7915 (patch)
treea34b032e773044a61108b41526ba0c5e4c3a949a
parent661abb2f663a7769b2420d67913e099a8a0ee919 (diff)
downloadaports-46abd9ffb41901b3f32975a0871cdb9a920e7915.tar.bz2
aports-46abd9ffb41901b3f32975a0871cdb9a920e7915.tar.xz
community/lsscsi: clarify license modernize
-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"