diff options
Diffstat (limited to 'main/libxklavier/APKBUILD')
-rw-r--r-- | main/libxklavier/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD index 771398a48..c9df68805 100644 --- a/main/libxklavier/APKBUILD +++ b/main/libxklavier/APKBUILD @@ -21,9 +21,15 @@ source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${_v}/$pkgname-$pkgver.t depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,7 +41,7 @@ build () } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } |