summaryrefslogtreecommitdiff
path: root/user/pluma/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-24 21:46:02 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-24 21:46:02 -0500
commitc7d329faffcfd0e380894e2484d518c57c6eadf5 (patch)
tree0f26429f3012ab52d6c63fb1c97bc52f390318b5 /user/pluma/APKBUILD
parent4098d8e7fe0795d84a1f2941f4130179014ad58d (diff)
downloadpackages-c7d329faffcfd0e380894e2484d518c57c6eadf5.tar.gz
packages-c7d329faffcfd0e380894e2484d518c57c6eadf5.tar.bz2
packages-c7d329faffcfd0e380894e2484d518c57c6eadf5.tar.xz
packages-c7d329faffcfd0e380894e2484d518c57c6eadf5.zip
user/pluma: new package
Diffstat (limited to 'user/pluma/APKBUILD')
-rw-r--r--user/pluma/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/pluma/APKBUILD b/user/pluma/APKBUILD
new file mode 100644
index 000000000..4e6d80e39
--- /dev/null
+++ b/user/pluma/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=pluma
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="Text editor for the MATE desktop environment"
+url="https://mate-desktop.org"
+arch="all"
+options="!check" # tests fail due to schema being requested but not available
+license="GPL-2.0+ AND GPL-2.0-only AND LGPL-2.0+"
+depends=""
+makedepends="gtk+3.0-dev gtksourceview-3.0-dev enchant-dev intltool
+ itstool iso-codes-dev libpeas-dev libsm-dev libxml2-dev libxml2-utils"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://pub.mate-desktop.org/releases/${pkgver%.*}/pluma-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7c74c2ce0a89ec3813c936449d3114957e7b319433875ef567ecc508a28a1d3ddc3d0da418b2eb1278b6dc9dbaa3c75a279524f5a061b5aecb52955edcf28f51 pluma-1.22.0.tar.xz"