diff options
Diffstat (limited to 'libre/makepkg-git/PKGBUILD')
-rw-r--r-- | libre/makepkg-git/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/libre/makepkg-git/PKGBUILD b/libre/makepkg-git/PKGBUILD new file mode 100644 index 000000000..60453a927 --- /dev/null +++ b/libre/makepkg-git/PKGBUILD @@ -0,0 +1,49 @@ +# vim: set ts=2 sw=2 et: +# $Id: PKGBUILD 150148 2012-02-13 14:49:35Z dreisner $ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (Arch): Dan McGee <dan@archlinux.org> +# Maintainer (Arch): Dave Reisner <dave@archlinux.org> + +_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=2 + +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) +md5sums=('2152bdff59dcab8e7d36103a4756e5bf') + +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 +} |