~roshless/PKGBUILDs

PKGBUILDs/gmni/PKGBUILD -rw-r--r-- 687 bytes
115155fd — Aleksander Szczygieł lagrange: add zlib dependency 7 days ago
                                                                                
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')