summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 03:12:54 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 03:12:54 (GMT)
commitfad439a197c7e1c11e0fe5681bbbb3c04142a5fe (patch)
tree5ee770492d359ed3a0a4e662df01b101a3eb3a17
parentd9ee13488d3ab81b6a6d12a23826fa67baeeadf5 (diff)
downloadlinhes_pkgbuild-fad439a197c7e1c11e0fe5681bbbb3c04142a5fe.zip
linhes_pkgbuild-fad439a197c7e1c11e0fe5681bbbb3c04142a5fe.tar.gz
linhes_pkgbuild-fad439a197c7e1c11e0fe5681bbbb3c04142a5fe.tar.bz2
m4:Bumped to latest.
-rw-r--r--abs/core/m4/m4/PKGBUILD28
-rw-r--r--abs/core/m4/m4/m4.install20
2 files changed, 48 insertions, 0 deletions
diff --git a/abs/core/m4/m4/PKGBUILD b/abs/core/m4/m4/PKGBUILD
new file mode 100644
index 0000000..9e0a802
--- /dev/null
+++ b/abs/core/m4/m4/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 90203 2010-09-09 05:37:32Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=m4
+pkgver=1.4.15
+pkgrel=1
+pkgdesc="The GNU macro processor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/m4"
+license=('GPL3')
+groups=('base-devel')
+depends=('glibc' 'bash')
+install=m4.install
+source=(ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.xz)
+md5sums=('1caf3410e6590f493834dc99ee04d027')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+ make check
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make prefix=${pkgdir}/usr install
+}
diff --git a/abs/core/m4/m4/m4.install b/abs/core/m4/m4/m4.install
new file mode 100644
index 0000000..88a9606
--- /dev/null
+++ b/abs/core/m4/m4/m4.install
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(m4.info m4.info-1 m4.info-2)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}