summaryrefslogtreecommitdiffstats
path: root/indent/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'indent/Pkgfile')
-rw-r--r--indent/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/indent/Pkgfile b/indent/Pkgfile
new file mode 100644
index 000000000..333e1c932
--- /dev/null
+++ b/indent/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Programme de formattage du code source C.
+# URL: http://indent.isidore-it.eu/beautify.html
+# Maintainer:
+# Packager: piernov <piernov@piernov.org>
+# Depends on: texi2html
+# Run on:
+
+name=indent
+version=2.2.11
+release=1
+source=(http://indent.isidore-it.eu/$name-$version.tar.gz
+ LC_ALL.patch
+ segfault.patch
+ decimal_format.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < ../segfault.patch
+ patch -p1 < ../LC_ALL.patch
+ patch -p1 < ../decimal_format.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+}