summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e1b46d272a6a6aab271e7b8248872c2b6a20143 (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
34
# Maintainer: René Wagner <rwagner@rw-net.de>

pkgname=cgmnlm-git
pkgrel=1
pkgver=1.6
pkgdesc="colorful gemini line mode client - fork of gmni"
url="https://sr.ht/~rwa/gemini-clients/"
arch=('x86_64' 'armv7h' 'aarch64')
license=('GPL3')
source=("${pkgname}::git+https://git.sr.ht/~rwa/cgmnlm")
conflicts=('gmni' 'gmni-git' 'cgmnlm')
provides=('cgmnlm')
depends=('bearssl')
optdepends=('xdg-utils')
makedepends=('git' 'scdoc')
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgname}/"
    printf "%s" "$(git describe | sed -r 's/\-/_/g' )"
}

build() {
    cd "${srcdir}/${pkgname}/"

    mkdir -p build && cd build
    ../configure --prefix=/usr
    make PREFIX="/usr"
}

package() {
    cd "${srcdir}/${pkgname}/build"
    make PREFIX="/usr" DESTDIR="$pkgdir" install
}