aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 19:00:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:29:30 -0300
commitfdc53cd5e07aa4566cb1374b89299d8c0989429d (patch)
tree9b654302e5b88f68af6f384b795aad179466ed42
parent8e2b2a99ca407e138a4a345a25ff61b906191e5c (diff)
downloadaports-fdc53cd5e07aa4566cb1374b89299d8c0989429d.tar.gz
aports-fdc53cd5e07aa4566cb1374b89299d8c0989429d.tar.bz2
aports-fdc53cd5e07aa4566cb1374b89299d8c0989429d.tar.xz
community/xdpyinfo: modernize
-rw-r--r--community/xdpyinfo/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/xdpyinfo/APKBUILD b/community/xdpyinfo/APKBUILD
index e998a5e8b8..7d437276b0 100644
--- a/community/xdpyinfo/APKBUILD
+++ b/community/xdpyinfo/APKBUILD
@@ -8,25 +8,19 @@ arch="all"
license="custom"
subpackages="$pkgname-doc"
makedepends="libxtst-dev"
-depends=
-source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://www.x.org/releases/individual/app/xdpyinfo-$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="2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d xdpyinfo-1.3.2.tar.bz2"