aboutsummaryrefslogtreecommitdiffstats
path: root/main/mousepad/APKBUILD
blob: 9c5cf896b232d18804610cf4aa248123d6682112 (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.2.16
pkgrel=3
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"
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="d98854edb76d823ac20b266fdf5a64a1  mousepad-0.2.16.tar.bz2"