mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 09:32:31 +01:00
main/gnumeric: modernize abuild
This commit is contained in:
parent
746cc54609
commit
2aa214e3d2
@ -10,19 +10,12 @@ makedepends="gtk+3.0-dev intltool desktop-file-utils goffice-dev rarian
|
||||
python2-dev py-gobject3-dev libxslt-dev bison flex itstool
|
||||
libxml2-utils
|
||||
autoconf automake libtool"
|
||||
install=
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
||||
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.12/$pkgname-$pkgver.tar.xz
|
||||
"
|
||||
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.12/$pkgname-$pkgver.tar.xz"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
prepare() {
|
||||
cd "$builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
default_prepare
|
||||
autoreconf -vif
|
||||
}
|
||||
|
||||
@ -35,14 +28,13 @@ build() {
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--with-python \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--with-python
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make -j1 DESTDIR="$pkgdir" install || return 1
|
||||
make -j1 DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="59f2b6eb9b43414a4673657b230aeb9beb9dea5e2eec8457719e8d1fbfab0056807cf1946dfb8b9c0dc9ec3194543ac0b7b3d51069099ab9fd8b80121172821d gnumeric-1.12.34.tar.xz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user