summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e669e13f1021a8479d31a312fd2fb6a0d8a1064 (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
# Maintainer: Yamada Hayao <development@fascode.net>

_pkgname="getoptions"
pkgname="${_pkgname}-git"
pkgdesc="An elegant option/argument parser for shell scripts (git version)"
pkgver="3.3.0"
pkgrel="1"

arch=('any')
url="https://github.com/ko1nksm/getoptions"
license=('CC0-1.0')
conflicts=("${_pkgname}")

source=("git+${url}.git")
md5sums=('SKIP')

_dir="getoptions"

build(){
    cd "${srcdir}/${_dir}"
    make
}

package() {
    cd "${srcdir}/${_dir}"
    make install PREFIX="${pkgdir}/usr/bin/"
}