summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a781311ae91f098a29fd12801c64091f2d6cfac (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
# Maintainer: Ivan Kovmir <ikovmir@darkn.space>
pkgname=untldr
pkgver=1.0.0
pkgrel=3
pkgdesc='Minimalist tldr command line client'
arch=('any')
url="https://github.com/unInstance/untldr"
license=('Apache')
depends=('curl' 'libarchive')
makedepends=('gcc' 'ccache' 'make')
conflicts=('tldr')
options=('ccache')
install="${pkgname}.install"
changelog="${pkgname}.changelog"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/unInstance/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('b6c3705dcdde1bbd48e29354df383a3e')

build() {
	cd "${pkgname}-${pkgver}"
	make
}

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