updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / srcman / PKGBUILD
blob740c97753698d1d59da6481ef7d4bbd24f3fb4e9
1 # Maintainer: xduugu
2 pkgname=srcman
3 pkgver=0.4.1
4 pkgrel=1
5 pkgdesc="A pacman wrapper that transparently handles source packages"
6 arch=('any')
7 url="http://bbs.archlinux.org/viewtopic.php?id=65501"
8 license=('GPL')
9 depends=('bash>=4.0.0' 'coreutils' 'curl' 'findutils' 'grep' 'pacman>=3.4' 'sed')
10 backup=("etc/xdg/$pkgname/$pkgname.conf")
11 changelog=$pkgname.changelog
12 source=($pkgname-$pkgver.tar.xz
13         makepkg
14         makepkg-asroot.patch)
15 md5sums=('e43dec71eb8dd5c0dbc3407a7362078a'
16          '1ecbe5ddd7942c2a846936c6d340b15f'
17          'e010311c9883653ea286eac761bf4f9f')
18 sha256sums=('d94531749fae00c62eaf47369a246bb57b86782ee30f535ac019912a79a80435'
19             'a62bdfe2281c1783082dfe61354258e0b1858a13733237d4cd542788a19cf001'
20             'f0fd0060b45ae9b0d2d127eff06e80b4fd1285f96651c1bcdfe993c73a216af1')
22 #package() {
23 build() {
24   cd "$pkgname-$pkgver"
25   mv "$srcdir/makepkg" .
26   patch -Np1 < "$srcdir/makepkg-asroot.patch"
27   make DESTDIR="$pkgdir" install install-docs
28   install -Dm755 makepkg "$pkgdir/usr/share/srcman/makepkg"
31 # vim:set ts=2 sw=2 et: