blob: 48a2443e50704837678ceddc85458f52f195616e (
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
|
# Maintainer (AUR): Gavin Lloyd <gavinhungry@gmail.com>
# Contributor (AUR): Jan Pacner
# Contributor (AUR): dumblob <dumblob@gmail.com>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=packer-git
pkgver=327.e86f847
pkgrel=1
pkgdesc='Bash wrapper for pacman and aur'
arch=('any')
url="https://github.com/gavinhungry/packer"
license=('GPL3')
depends=('bash' 'curl' 'grep' 'pacman' 'sed' 'jshon')
makedepends=('git')
conflicts=('packer')
source=("${pkgname}::git+${url}.git#branch=master")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "${pkgname}"
install -Dm755 packer "${pkgdir}"/usr/bin/packer
install -Dm644 packer.8 "${pkgdir}"/usr/share/man/man8/packer.8
}
|