summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e674582607572cba71a161b9a52661a95bc0ab4 (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
# Maintainer: Tim Wanders <tim241@mailbox.org>
_pkgname=bunny
pkgname=bunny-git
pkgver=1
pkgrel=1
pkgdesc="A simple shell script wrapper around multiple package managers"
arch=('any')
url="https://gitlab.com/tim241/${_pkgname}"
license=('GPLv3')

depends=()

source=("git+$url.git#branch=develop")

sha256sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    git describe --always | sed "s|-|.|g"
}

package() {
    cd "$_pkgname"
    make install prefix="/usr/" destdir="$pkgdir" version="$pkgver" -j1 
}