summaryrefslogtreecommitdiffstats
path: root/x11/mousepad/APKBUILD
blob: ad5524f1d785f908870452c773ca1bf3817c9c7a (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mousepad
pkgver=0.2.16
pkgrel=0
pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)"
url="http://www.xfce.org/~benny/apps.html"
license="GPL-2"
makedepends="pkgconfig libxfcegui4-dev intltool gettext-dev libiconv-dev
	libsm-dev e2fsprogs-dev expat-dev"
depends="desktop-file-utils"
install="mousepad.post-install mousepad.post-deinstall"
source="http://www.xfce.org/archive/xfce-4.6.0/src/$pkgname-$pkgver.tar.bz2
	$install"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="d98854edb76d823ac20b266fdf5a64a1  mousepad-0.2.16.tar.bz2
5ee3bbceee9d5e58b6fd8afeba87980b  mousepad.post-install
5ee3bbceee9d5e58b6fd8afeba87980b  mousepad.post-deinstall"