aboutsummaryrefslogtreecommitdiffstats
path: root/community/mousepad/APKBUILD
blob: d0ebc2804ad0ad7881751c81979f967c296b5ea2 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
pkgver=0.4.2
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/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="f3266018ce61683dc62b6866649f3674cc363ea652de04d3f087341c61cf24fb5eb730411948e354d085792f88b59e3dba7e7712715d92711f750b33d8bfb69a  mousepad-0.4.2.tar.bz2"