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

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="dcfcdfaa8a19c89f35d5f6f64753e6e1  mousepad-0.3.0.tar.bz2"