upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / esh / trunk / PKGBUILD
blobbb7280f434aee5ca3fc32bfe2560915a408e4be8
1 # Maintainer: Alexander Epaneshnikov <alex19ep@archlinux.org>
3 pkgname=esh
4 pkgver=0.3.2
5 pkgrel=1
6 pkgdesc="Simple templating engine based on shell"
7 arch=('any')
8 url="https://github.com/jirutka/esh"
9 license=('MIT')
10 depends=('gawk' 'sed')
11 makedepends=('asciidoctor')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/jirutka/esh/archive/v${pkgver}/esh-${pkgver}.tar.gz")
13 sha512sums=('f93835f0c28b75fa4b4ab2fdccd860050e4dde25634074065b182f289dd36d05074c7a5762f6cd35f409ae2ef239de5e0799af70ec6a96ba63df50fc8c123784')
14 b2sums=('3e979edc98192e52ef0bacfb069d3a53d29303a361ba9e26e71e08079690c26a6448c4837b5c7ccebfbadad23c25dc0547931143bd0dbc5e30c30c5d3e229914')
16 build() {
17         cd "$pkgname-$pkgver"
18         make man
21 check() {
22         cd "$pkgname-$pkgver"
23         make test
26 package() {
27         cd "$pkgname-$pkgver"
28         make prefix=/usr/ DESTDIR="$pkgdir/" install
29         install -vDm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"