aboutsummaryrefslogtreecommitdiffstats
path: root/main/indent/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 21:00:44 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 21:00:44 -0600
commitaa72ab9f05dcc8b21f8c7dbbe02b483e37babd36 (patch)
tree65ad87aff50771d41ef12eb625865ae05d80c2ca /main/indent/APKBUILD
parent77acdd477c175a0ec06efb024e99dfe7306e4261 (diff)
downloadaports-aa72ab9f05dcc8b21f8c7dbbe02b483e37babd36.tar.bz2
aports-aa72ab9f05dcc8b21f8c7dbbe02b483e37babd36.tar.xz
main/indent: promote from testing
Diffstat (limited to 'main/indent/APKBUILD')
-rw-r--r--main/indent/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/indent/APKBUILD b/main/indent/APKBUILD
new file mode 100644
index 0000000000..2c9d0cfbe0
--- /dev/null
+++ b/main/indent/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=indent
+pkgver=2.2.10
+pkgrel=0
+pkgdesc="indenting utility"
+url="http://www.gnu.org/software/indent/"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://astromirror.uchicago.edu/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+arch="all"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="be35ea62705733859fbf8caf816d8959 indent-2.2.10.tar.gz"