diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-18 17:13:04 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-18 17:13:24 +0100 |
commit | cc7509c635d9eccd9afe84a1cf316d3e38f37d03 (patch) | |
tree | ccfd28d6ae649edee2982ea9e685876c35da783d /main/gnokii/APKBUILD | |
parent | 44d7b224c51e71e634e42858bafac783e83557ec (diff) | |
download | aports-cc7509c635d9eccd9afe84a1cf316d3e38f37d03.tar.bz2 aports-cc7509c635d9eccd9afe84a1cf316d3e38f37d03.tar.xz |
main/gnokii: fix build
Diffstat (limited to 'main/gnokii/APKBUILD')
-rw-r--r-- | main/gnokii/APKBUILD | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/main/gnokii/APKBUILD b/main/gnokii/APKBUILD index 5a66937b3f..b89ad289d6 100644 --- a/main/gnokii/APKBUILD +++ b/main/gnokii/APKBUILD @@ -2,40 +2,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnokii pkgver=0.6.31 -pkgrel=9 +pkgrel=10 pkgdesc="Tools and user space driver for use with mobile phones" url="http://www.gnokii.org/" arch="all" -license="GPL" -depends="" +license="GPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs xgnokii $pkgname-smsd $pkgname-smsd-pgsql:pgsql $pkgname-smsd-mysql:mysql $pkgname-smsd-sqlite:sqlite $pkgname-lang" makedepends="gtk+-dev mariadb-connector-c-dev intltool libusb-compat-dev libxpm-dev bluez-dev libical-dev postgresql-dev sqlite-dev - autoconf automake libtool" + autoconf automake libtool gettext-dev" source="http://www.gnokii.org/download/gnokii/gnokii-$pkgver.tar.bz2 gnokii.patch xgnokii.patch gnokii-0.6.31-gcc5.patch " -_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - autoreconf || return 1 + default_prepare + update_config_sub sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in } build() { - cd "$_builddir" CFLAGS="$CFLAGS -std=gnu89" \ ./configure \ --build=$CBUILD \ @@ -45,14 +36,12 @@ build() { --enable-security \ --disable-unix98test \ --disable-phonet \ - --with-x \ - || return 1 + --with-x make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } libs() { @@ -94,14 +83,6 @@ sqlite() { mkdir -p "$subpkgdir"/usr/lib/smsd mv "$pkgdir"/usr/lib/smsd/*sqlite*.so "$subpkgdir"/usr/lib/smsd/ } -md5sums="d9627f4a1152d3ea7806df4532850d5f gnokii-0.6.31.tar.bz2 -5de7a1c6a59b740df9d24f5c08cea448 gnokii.patch -6b87d13cb012bfdfd3581d89f42a3cff xgnokii.patch -5bcf2dadd31a826d1f80b53bb37d9bd0 gnokii-0.6.31-gcc5.patch" -sha256sums="8f5a083b05c1a66a3402ca5cd80084e14c2c0632c991bb53b03c78e9adb02501 gnokii-0.6.31.tar.bz2 -4bde95dd970c314e2243f3deea9047665802fa09bc5b97ebfa9b5b6c2844af7b gnokii.patch -08a2df9d843de490969adf44a6a8871f55aa2ad784c24d9cd44894fb203f7770 xgnokii.patch -eafe67990e383e92636a88de27f003674374db81d986ddbb397ab18d82b6556d gnokii-0.6.31-gcc5.patch" sha512sums="529f6d0d29873f48ac00cf7151ba35dcbd93405ab27d69848ed17dea73f4fba71721d1811d921441b4214777b9b33f760b372631627cc108eb94c39684da343d gnokii-0.6.31.tar.bz2 a253cd0a461b06b3d11202f36c518f6364705008c36d4e7ecd292ecd2e4288e42fbd55110405c6bb2d2d82499e047876aa92a9292b629d1323189a9164359d32 gnokii.patch b7033907d8bca55366b09ef976e1f1e48a31ef2630e55770200fc3818c1a36aa6478bc73cb4f180b469d21157ad5af389dc075280f22251b7402d7ab584f37dc xgnokii.patch |