From 37e1355811288653693f10fabdf9c1d81b95b7ec Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 27 Nov 2012 21:50:36 -0500 Subject: mv java/makepkg-git libre/ --- libre/makepkg-git/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libre/makepkg-git/PKGBUILD (limited to 'libre') diff --git a/libre/makepkg-git/PKGBUILD b/libre/makepkg-git/PKGBUILD new file mode 100644 index 000000000..a8542c318 --- /dev/null +++ b/libre/makepkg-git/PKGBUILD @@ -0,0 +1,48 @@ +# vim: set ts=2 sw=2 et: +# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $ +# Maintainer: Dan McGee +# Maintainer: Dave Reisner + +_pkgname=pacman +pkgname=makepkg-git +_relver=4.0.3 +_gitver=2abe1f16461133c0dc386f8ecb8b06865c22940b +pkgver=${_relver}.git + +provides=($_pkgname=$pkgver) +replaces=(pacman-makepkg-git) +conflicts=(pacman-makepkg-git) + +pkgrel=1 + +pkgdesc="Pacman's makepkg, built from git sources" +#arch=('i686' 'x86_64' 'mips64el') +arch=('any') +url="http://www.archlinux.org/pacman/" +license=('GPL') +#groups=('base') +depends=('bash' 'libarchive>=3.0.2' 'curl>=7.19.4' 'gpgme') +makedepends=('asciidoc') +optdepends=('fakeroot: for makepkg usage as normal user') +#backup=(etc/pacman.conf etc/makepkg.conf) +#install=pacman.install +options=(!libtool) +source=(https://projects.archlinux.org/pacman.git/snapshot/$_pkgname-$_gitver.tar.gz) +md5sums=('4013517cf9016c920b525611bd63d6dc') + +build() { + cd $srcdir/$_pkgname-$_gitver + + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + make +} + +check() { + make -C "$_pkgname-$_gitver" check +} + +package() { + install -Dm755 $srcdir/$_pkgname-$_gitver/scripts/makepkg $pkgdir/usr/bin/makepkg-git +} -- cgit v1.2.3