aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 19:02:24 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:29:30 -0300
commit993da571b08066cb67f9193df330207c802e3f1d (patch)
treefaed35ae3665aa45a2ff40682b00599d297c158e
parent338ac300b16944f20da1699fe6130558822115a0 (diff)
downloadaports-993da571b08066cb67f9193df330207c802e3f1d.tar.gz
aports-993da571b08066cb67f9193df330207c802e3f1d.tar.bz2
aports-993da571b08066cb67f9193df330207c802e3f1d.tar.xz
community/xcmsdb: modernize
-rw-r--r--community/xcmsdb/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/xcmsdb/APKBUILD b/community/xcmsdb/APKBUILD
index f81774e36f..83b41f9ec1 100644
--- a/community/xcmsdb/APKBUILD
+++ b/community/xcmsdb/APKBUILD
@@ -7,25 +7,19 @@ url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
-depends=
makedepends="libx11-dev"
-source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://www.x.org/releases/individual/app/xcmsdb-$pkgver.tar.bz2"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="e47bfce87d7531e7809c300e01120c3e8d6001130d9a6c9f6de5bc19651d8712d273a6f54452223bd8c4bff4612b5ecae8db45eddb022da945ed6e14c9c84ae4 xcmsdb-1.0.5.tar.bz2"