Commit 131bdb2f authored by Francesco Colista's avatar Francesco Colista

community/pluma: modernize APKBUILD

parent c16d4145
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment