aboutsummaryrefslogtreecommitdiffstats
path: root/community/mousepad/APKBUILD
blob: 8a2bae3085d61c03be32340b1fe922ca20445839 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
pkgver=0.5.6
pkgrel=0
pkgdesc="Simple Text Editor for Xfce4"
url="https://git.xfce.org/apps/mousepad/"
arch="all !s390x !mips !mips64" # Limited by gtksourceview
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev gtksourceview-dev intltool xfconf-dev"
depends="desktop-file-utils"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/apps/mousepad/${pkgver%.*}/mousepad-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
24e974f793fd8660d39fc00156f8f8f07bae44133c6f58d705b1665f0b8d333f2248a6780b48794edb56e7faf7f206069a7866f76cbf91f6ce6b8b2ac7121f34  mousepad-0.5.6.tar.bz2
"