aboutsummaryrefslogtreecommitdiffstats
path: root/main/mousepad/APKBUILD
blob: 9598675e794974f64c2092c90bbda595607b7b12 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
pkgver=0.3.0
pkgrel=2
pkgdesc="Simple Text Editor for Xfce4"
url="http://foo-projects.org/~benny/xfce/apps.html"
arch="all"
license="GPL2+"
makedepends="libxfcegui4-dev gtksourceview2-dev"
depends="desktop-file-utils"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build () {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="dcfcdfaa8a19c89f35d5f6f64753e6e1  mousepad-0.3.0.tar.bz2"
sha256sums="10f27506994d0d0b8f9e02555404a144babedab97517abe3b6be8b2d21ff046d  mousepad-0.3.0.tar.bz2"
sha512sums="4e8f7cd8f05265c7f3964f0f5196721136c501351aa8c7bae1e3a6056fcd61f40364f2bb226817d458afa3707334dd600efbae2f8d050d65841ef03085717e42  mousepad-0.3.0.tar.bz2"