justcaptcha/build/archlinux/PKGBUILD

23 lines
597 B
Bash

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=justcaptcha
pkgver=2.0.2
pkgrel=2
pkgdesc="Just a standalone simple CAPTCHA service"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.su/Arav/justcaptcha"
license=('MIT')
makedepends=('go')
provides=('justcaptcha')
conflicts=('justcaptcha')
source=("https://git.arav.su/Arav/justcaptcha/archive/v${pkgver}.tar.gz")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make VERSION=$pkgver DESTDIR="$pkgdir/"
}
package() {
cd "$srcdir/$pkgname"
make VERSION=$pkgver DESTDIR="$pkgdir/" install
}