aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-22 15:24:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-25 07:11:22 +0000
commit131bdb2f1100788ebeb77d018aab4dce0c73f1a5 (patch)
treeebc9d29889ec706ca47e1427b8f2a35cb68c3c06
parentc16d41457f4a00a357e7c03b35ecfaa03ce20cde (diff)
downloadaports-131bdb2f1100788ebeb77d018aab4dce0c73f1a5.tar.bz2
aports-131bdb2f1100788ebeb77d018aab4dce0c73f1a5.tar.xz
community/pluma: modernize APKBUILD
-rw-r--r--community/pluma/APKBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/community/pluma/APKBUILD b/community/pluma/APKBUILD
index 4f06ba249e..47cccb1817 100644
--- a/community/pluma/APKBUILD
+++ b/community/pluma/APKBUILD
@@ -2,14 +2,16 @@
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=pluma
pkgver=1.19.1
-pkgrel=0
+pkgrel=1
pkgdesc="A small and lightweight UTF-8 text editor for the MATE"
url="https://github.com/mate-desktop/pluma"
arch="all"
license="GPLv2"
-makedepends="$depends_dev intltool enchant-dev iso-codes-dev gtk+3.0-dev
+# check fails as tracked in https://github.com/mate-desktop/pluma/issues/33
+options="!check"
+makedepends="intltool enchant-dev iso-codes-dev gtk+3.0-dev
mate-desktop-dev gtksourceview-dev dconf-dev libsm-dev itstool
- libxml2-utils fortify-headers libpeas-dev"
+ libxml2-utils fortify-headers libpeas-dev gsettings-desktop-schemas-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz
0001-fix-accessperms-in-tests.patch"
@@ -19,10 +21,15 @@ build() {
cd "$builddir"
./configure \
--build=$CBUILD \
- --host=$CHOST \
- --sysconfdir=/etc \
- --prefix=/usr
- make
+ --host=$CHOST \
+ --sysconfdir=/etc \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {