blob: 38ecaf1a33feabb4f7907d6f3d5e96376506685e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Ethan Cheng <ethan@nijika.org>
pkgname='zwc-git'
pkgver=0.1.1.r3.gfe99965
pkgrel=1
pkgdesc="Encodes/decodes data into zero-width utf-8 characters"
arch=(any)
url="https://github.com/yadayadajaychan/zwc"
license=('GPL3')
makedepends=('git' 'go' 'make')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+$url.git?signed#branch=testing)
cksums=('SKIP')
validpgpkeys=(1624691AAB618B49D8AE10BE046F1347562492CC)
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${pkgname%-git}"
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
|