aboutsummaryrefslogtreecommitdiffstats
path: root/community/leafpad/APKBUILD
blob: c18069d50c383ebb5079e09996bf2d7d1e05fd59 (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
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=leafpad
pkgver=0.8.18.1
pkgrel=0
pkgdesc="A simple GTK+ text editor"
url="http://tarot.freeshell.org/leafpad"
arch="all"
license="GPL-2.0"
depends=""
depends_dev="gtk+2.0-dev"
makedepends="$depends_dev"
subpackages="$pkgname-lang"
source="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"

builddir="$srcdir"/${pkgname}-${pkgver}
build() {
	cd "$builddir"
	./configure --prefix=/usr --enable-chooser
	make
}

package() {
	cd "$builddir"
	chmod +x ./install-sh
	make DESTDIR="$pkgdir" install
}

sha512sums="1caad712967f634f585ab32e406534b5ce2c5621008c1eb5b2b48f17ca0f48cd834ea2ea1c67eda4053fa84e8727ff0e708e99d3b5dad838dcf0701389788257  leafpad-0.8.18.1.tar.gz"