blob: ae7562076f15964ffcf8dcdcaf8553863c48d0ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=pluma
pkgver=1.18.1
pkgrel=0
pkgdesc="A small and lightweight UTF-8 text editor for the MATE"
url="https://github.com/mate-desktop/pluma"
arch="all"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev 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"
install=""
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"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--sysconfdir=/etc \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
}
sha512sums="a38e50019cdb2523aa5e727a4bebaf9dc2e4a9d520ae9eb3272867b85d5d89b8fbc2789f4a7e80c9566dcd133ea90da77cd295537c27900dad74c1095aed37f6 pluma-1.18.1.tar.xz
3aa0ae2e383bcc36c63384455062954876e77995da79a757b4eb6e37f3b2e5f7139165d7bb95c193ff888d33d2682773e981bf7e44fd963e918696d64e537741 0001-fix-accessperms-in-tests.patch"
|