blob: 1116e7e0b5e029b44e5f5030ea2c331b2e0453b1 (
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}"
pkgdesc="An elegant option/argument parser for shell scripts "
pkgver="3.3.0"
pkgrel="2"
arch=('any')
url="https://github.com/ko1nksm/getoptions"
license=('CC0-1.0')
conflicts=("${_pkgname}-git")
source=("${url}/archive/refs/tags/v${pkgver}.zip")
md5sums=('SKIP')
_dir="getoptions-${pkgver}"
build(){
cd "${srcdir}/${_dir}"
make
}
package() {
cd "${srcdir}/${_dir}"
make install PREFIX="${pkgdir}/usr/"
}
|