summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKaizhao Zhang2021-02-28 16:48:09 +0800
committerKaizhao Zhang2021-02-28 16:48:09 +0800
commit4a5cc0ab9b44c621a9125ddfe249d2adfa0e1746 (patch)
treec71d028f23a028a1bc164d0ff049c78af309c69f /PKGBUILD
parentfaf198b50c10a9df6cc2f50a87c342b050e8ea75 (diff)
downloadaur-4a5cc0ab9b44c621a9125ddfe249d2adfa0e1746.tar.gz
Build ameba in release mode
This was suggested by AUR user hugo [1] in a comment on this package [2]. [1]: https://aur.archlinux.org/account/hugo [2]: https://aur.archlinux.org/packages/ameba/
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cbc0cf01019..a51c1c99a79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ameba
pkgver=0.14.0
-pkgrel=1
+pkgrel=2
pkgdesc="A static code analysis tool for Crystal"
arch=('x86_64')
url='https://github.com/crystal-ameba/ameba'
@@ -18,7 +18,7 @@ sha256sums=(
package() {
cd "${pkgname}-${pkgver}"
- make PREFIX="${pkgdir}/usr" install
+ make PREFIX="${pkgdir}/usr" CRFLAGS=--release install
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"