blob: 048a921318e8a11f039bd89937976f8b9e46dc1b (
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
|
# Maintainer: pml68 <contact@pml68.dev>
pkgname=aur-git
pkgver=1.0.0.r0.gdaca344
pkgrel=1
pkgdesc='A simple script for AUR package management'
arch=('any')
url='https://github.com/pml68/aur'
license=('MIT')
depends=(
'bash'
'git'
)
options=('!strip' '!debug')
conflicts=('aur')
provides=('aur')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${pkgname}"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|