diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-07-19 11:34:20 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-07-19 11:34:20 -0300 |
commit | 9c87491d3f89760db988664f092bfbdbb66a1e92 (patch) | |
tree | ef759a001ce3035bb633fa532b194299260c8af7 /libre/pacman/rePKGBUILD | |
parent | 1e4417fa238cd61e969e3e0892f253064bf5ee07 (diff) | |
download | abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.tar.gz abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.tar.bz2 abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.zip |
libre/pacman-4.0.3-3
recovered rePKGBUILD
Diffstat (limited to 'libre/pacman/rePKGBUILD')
-rw-r--r-- | libre/pacman/rePKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/pacman/rePKGBUILD b/libre/pacman/rePKGBUILD new file mode 100644 index 000000000..810eff5b9 --- /dev/null +++ b/libre/pacman/rePKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +unset build package md5sums source check +_repo=core +source=(PKGBUILD + ftp://ftp.archlinux.org/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + # files for pkg modifications + pacman.conf + pacman.conf.x86_64 + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm -vf .{INSTALL,PKGINFO} ${srcdir}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT + # put actions for package modifications below this line + +} + +package() { + cp -a ${srcdir}/* ${pkgdir} + + rm ${pkgdir}/{PKGBUILD,pacman.conf{,.x86_64}} + +# No need to repackage for mips64el + case "$CARCH" in + i686) + install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf + ;; + x86_64) + install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf + ;; + esac +} + + +# vim:set ts=2 sw=2 et: |