aboutsummaryrefslogtreecommitdiffstats
path: root/main/mousepad/APKBUILD
blob: 49a34cb1bbc8ecae2c29da9d03a4862c39de6cdd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
pkgver=0.2.16
pkgrel=2
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"
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"