summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libxdg-basedir/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/user/libxdg-basedir/APKBUILD b/user/libxdg-basedir/APKBUILD
index aa2e4ca5b..50a1e7dfc 100644
--- a/user/libxdg-basedir/APKBUILD
+++ b/user/libxdg-basedir/APKBUILD
@@ -14,10 +14,15 @@ makedepends=""
subpackages="$pkgname-dev"
source="https://nevill.ch/libxdg-basedir/downloads/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgname-$pkgver"
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
build() {
cd "$builddir"
- ./autogen.sh \
+ ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -35,4 +40,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="8584405d45e0b57e570666b6eab6d99d70411d00f88965826c9ed0292372385668f190157a10ff536f3a5a59fd0031b332ecbb8a38ac64eda1b04a0603997406 libxdg-basedir-1.2.0.tar.gz"
+sha512sums="346553ddd9d0a0c854af9320f2ced695a0838adc18736b66120bea48ea60cb9ea3a7390672a42f83909db92f692e94de833d9e8bcfe51568a72ad1f4661fde06 libxdg-basedir-1.2.0.tar.gz"