blob: a8542c3183efb9492609a85665efceea17aaf253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
}
|