summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKaizhao Zhang2019-05-24 00:30:35 +0800
committerKaizhao Zhang2019-05-24 00:30:35 +0800
commitf5627b442f355a47f229f5332d06118b706ee2cf (patch)
treef4f82eb74afad12bcddf90c8918ebde8fcceff8f /PKGBUILD
downloadaur-f5627b442f355a47f229f5332d06118b706ee2cf.tar.gz
Initial import with version 0.9.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3fc106e5edd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>
+
+pkgname=ameba
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A static code analysis tool for Crystal"
+arch=('x86_64')
+url='https://github.com/veelenga/ameba'
+license=('MIT')
+depends=('crystal' 'make')
+makedepends=('shards')
+source=(
+ "${url}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=(
+ 'd08fea919e402d7ee8fd48cfb8c304997cf68a338b5dfdb4a6a232de9dd9b0d1'
+)
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make PREFIX="${pkgdir}/usr" install
+
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}