blob: d61020a7046b9b4cec46b27cb6869ab9d665c6fe (
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: Tomek Ĺaziuk <tlaziuk@gmail.com>
pkgname=modman-git
_pkgname=modman
pkgver=1.12.r31.g799fbd1
pkgrel=1
pkgdesc="Magento Module Manager"
arch=("any")
url="https://github.com/colinmollenhour/${_pkgname}"
license=('GPL')
depends=('bash')
makedepends=('git')
conflicts=('modman')
provides=('modman')
replaces=('modman')
source=("git+https://github.com/colinmollenhour/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm664 README.md "$pkgdir/usr/share/doc/${_pkgname}/README.md"
install -Dm664 bash_completion "$pkgdir/usr/share/bash-completion/completions/${_pkgname}"
install -Dm755 $_pkgname "$pkgdir/usr/bin/${_pkgname}"
}
|