A little change to pkgdesc. Removed unused fields. Pass a VERSION var to make. Added a v prefix for tag and made use of pkgver. pkgrel was incremented.

This commit is contained in:
Alexander Andreev 2023-05-06 04:52:25 +04:00
parent 918fb18d22
commit 406fb66c17
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

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