diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/makepkg-git/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
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 <dan@archlinux.org> +# Maintainer: 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=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 +} |