diff options
Diffstat (limited to 'main/rarian')
-rw-r--r-- | main/rarian/APKBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/main/rarian/APKBUILD b/main/rarian/APKBUILD index 635f32f03..4f594d846 100644 --- a/main/rarian/APKBUILD +++ b/main/rarian/APKBUILD @@ -12,10 +12,16 @@ makedepends="libxslt-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2 user-segfault.patch" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir=""$srcdir/$pkgname-$pkgver"" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 patch -p0 -i "$srcdir"/user-segfault.patch || return 1 +} + +build() { + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ |