blob: d635ea94a8ffcafcfa4a8402b103152ddee20b69 (
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
31
32
33
|
# Maintainer: Roshless <pkg@roshless.com>
pkgname=gmni-git
pkgrel=2
pkgver=r146.b46b312
pkgdesc="A Gemini client"
url="https://git.sr.ht/~sircmpwn/gmni"
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
license=("GPL")
source=("gmni::git+https://git.sr.ht/~sircmpwn/gmni")
depends=('bearssl')
makedepends=('git' 'scdoc')
pkgver() {
cd gmni
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd gmni
mkdir build && cd build
# errors? what errors :)
CFLAGS=-Wno-error ../configure --prefix=/usr
make PREFIX="/usr"
}
package() {
cd gmni/build
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
md5sums=('SKIP')
|