aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-03-19 23:00:33 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-07 16:27:40 +0000
commit353a725e8dc14693467430f3a85f53eb01bcdcaf (patch)
tree7ef70bc9d601e15df9cad7f7848b6f0351c5e3a5
parent0f52f44e9bb61a610efa472f93b28b5970e63cae (diff)
downloadaports-353a725e8dc14693467430f3a85f53eb01bcdcaf.tar.bz2
aports-353a725e8dc14693467430f3a85f53eb01bcdcaf.tar.xz
main/libxmu: improve aport
-rw-r--r--main/libxmu/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/libxmu/APKBUILD b/main/libxmu/APKBUILD
index 262772bace..6fc2c7689a 100644
--- a/main/libxmu/APKBUILD
+++ b/main/libxmu/APKBUILD
@@ -9,14 +9,13 @@ license="MIT"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
-makedepends="libxext-dev libxt-dev libx11-dev libsm-dev
- util-linux-dev util-macros xmlto"
-source="https://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
depends_dev="util-linux-dev"
+makedepends="libxext-dev libxt-dev libx11-dev libsm-dev util-linux-dev
+ util-macros xmlto"
+source="https://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
builddir="$srcdir"/libXmu-$pkgver
-build()
-{
+build() {
cd "$builddir"
./configure \
--build=$CBUILD \
@@ -30,8 +29,7 @@ build()
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
- $pkgdir/usr/share/licenses/$pkgname/COPYING
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="8c6cc65b22aa031ad870dd92736681a068a0878a425a53dbed909943da1136c4a24034d467cfd3785c3a8d78f66850b69f1ebe1eb24aaf9bc176b1d171a5c762 libXmu-1.1.3.tar.bz2"