blob: 1b0781f6b97f67e26f1abdf95da15073293d3082 (
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
31
32
33
|
# Maintainer: articpenguin <julia.schweinz at mailfence dot com>
pkgname=modernish
pkgver=0.16.5
pkgrel=1
pkgdesc="POSIX compliant shell script library for modern, robust, portable, readable shell code"
arch=(any)
url='https://github.com/modernish/modernish'
license=('ISC')
depends=(
sed
awk
)
provides=("$pkgname")
conflicts=("$pkgname-git")
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('0964bbe0fe0b24eecf62dfbef089710358d468c1eb09e2d48008ca7753beb8e1')
package() {
cd "$srcdir/$pkgname-$pkgver"
install -d "$pkgdir/usr/bin"
install -d "$pkgdir/opt/$pkgname"
./install.sh -n -s /bin/sh -d "$pkgdir/opt/$pkgname"
ln -s "/opt/modernish/bin/modernish" "$pkgdir/usr/bin/modernish"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|