PKGBUILDs/aur/packer/PKGBUILD

28 lines
804 B
Bash
Raw Normal View History

2013-01-22 19:03:23 +00:00
# Maintainer: Kyle Keen <keenerd@gmail.com>
2013-10-11 17:15:47 +00:00
# Contributor: Gilrain <pierre.buard+aur gmail com>
2013-11-16 18:40:58 +00:00
# Contributor: bruenig
2013-01-22 19:03:23 +00:00
pkgname=packer
2013-11-16 18:40:58 +00:00
pkgver=20131001
2013-01-22 19:03:23 +00:00
pkgrel=1
pkgdesc="Bash wrapper for pacman and aur"
url="http://github.com/keenerd/packer"
2013-11-16 18:40:58 +00:00
license=("GPL3")
2013-01-22 19:03:23 +00:00
arch=('any')
makedepends=('git')
2013-10-11 17:15:47 +00:00
depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon' 'expac')
2013-01-22 19:03:23 +00:00
optdepends=('sudo: install and update packages as non-root'
'customizepkg: apply customizepkg modifications')
2013-10-11 17:15:47 +00:00
source=('git://github.com/keenerd/packer.git')
md5sums=('SKIP')
2013-01-22 19:03:23 +00:00
2013-10-11 17:15:47 +00:00
pkgver() {
cd "$pkgname"
2013-11-16 18:40:58 +00:00
git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
2013-10-11 17:15:47 +00:00
}
package() {
install -Dm755 "$srcdir/$pkgname/packer" "$pkgdir/usr/bin/packer"
install -Dm644 "$srcdir/$pkgname/packer.8" "$pkgdir/usr/share/man/man8/packer.8"
2013-01-22 19:03:23 +00:00
}