diff options
Diffstat (limited to 'main/xcmsdb/APKBUILD')
-rw-r--r-- | main/xcmsdb/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/xcmsdb/APKBUILD b/main/xcmsdb/APKBUILD index 526a59111a..32b0e2b74e 100644 --- a/main/xcmsdb/APKBUILD +++ b/main/xcmsdb/APKBUILD @@ -11,8 +11,15 @@ depends= makedepends="pkgconfig libx11-dev" source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -23,7 +30,7 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="7f2bed9f4dd3301d18d83eb296c3be0d xcmsdb-1.0.2.tar.bz2" |