aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-29 23:25:08 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-07 06:48:06 -0300
commit4d0c5ed1717d6eda4fdaba80b32a302d2c633c79 (patch)
treea9483dab33546a3818da1947e3080f78a20af96d
parent847c033cf9b1fc68cae11473b471ea3cac865675 (diff)
downloadaports-4d0c5ed1717d6eda4fdaba80b32a302d2c633c79.tar.bz2
aports-4d0c5ed1717d6eda4fdaba80b32a302d2c633c79.tar.xz
testing/gtkspell3: enable VAPI and GIR
* Adopt maintainership * Modernize * Fix license
-rw-r--r--testing/gtkspell3/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/testing/gtkspell3/APKBUILD b/testing/gtkspell3/APKBUILD
index b42f1fdb2e..aec0735c68 100644
--- a/testing/gtkspell3/APKBUILD
+++ b/testing/gtkspell3/APKBUILD
@@ -1,22 +1,18 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gtkspell3
pkgver=3.0.9
-pkgrel=0
+pkgrel=1
pkgdesc="rovides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
url="http://gtkspell.sourceforge.net/"
arch="all"
-license="GPL"
-depends=""
-depends_dev=""
-makedepends="$depends_dev enchant-dev gtk+3.0-dev"
-install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+license="GPL-2.0-or-later"
+makedepends="enchant-dev gtk+3.0-dev vala gobject-introspection-dev"
+options="!check" # no tests
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/gtkspell/gtkspell3-$pkgver.tar.xz"
-builddir="$srcdir/gtkspell3-$pkgver"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,15 +20,11 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- || return 1
- make || return 1
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="22c6c44c7cbebfc02e6255cc151a7967 gtkspell3-3.0.9.tar.xz"
-sha256sums="a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26 gtkspell3-3.0.9.tar.xz"
sha512sums="de6cc24ca092067a101996142bf2b3cfb6a5af2170ea4b0185a997e5c88adead7ba53c5a297c3110b3a66dc87d37e429720f972895bb2931f9a033fc006e2eab gtkspell3-3.0.9.tar.xz"