diff options
author | Adrian Perez de Castro | 2019-01-12 00:40:03 +0200 |
---|---|---|
committer | Adrian Perez de Castro | 2019-01-12 00:40:03 +0200 |
commit | bf66dd59c16fae26bcc1363a642c626a269cc876 (patch) | |
tree | 05d563ee8a18664d4adfd180284f008f22254b1e | |
parent | d01f24a6a705b8b75081ac8fc20fc0cd72f6c47b (diff) | |
download | aur-bf66dd59c16fae26bcc1363a642c626a269cc876.tar.gz |
Run tests in check() and install manpage
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = mle-git pkgdesc = Flexible terminal-based text editor pkgver = r379.af76670 - pkgrel = 2 + pkgrel = 3 url = https://github.com/adsr/mle arch = x86_64 license = Apache @@ -2,7 +2,7 @@ pkgdesc='Flexible terminal-based text editor' pkgname=mle-git pkgver=r379.af76670 -pkgrel=2 +pkgrel=3 arch=(x86_64) url='https://github.com/adsr/mle' license=(Apache) @@ -34,7 +34,13 @@ build () { make prefix=/usr } +check () { + cd "${pkgname}" + make test +} + package () { cd "${pkgname}" make prefix=/usr DESTDIR="${pkgdir}" install + install -Dm644 mle.1 "${pkgdir}/usr/share/man/man1/mle.1" } |