aboutsummaryrefslogtreecommitdiffstats
path: root/main/mousepad/APKBUILD
blob: 48b38a9bf044544e46d942f9798e6e3b923c054c (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
# 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 --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make || return 1
}

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