summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 605787dd33b8d7fa1b6ff8237ad5025c21c38e56 (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
# Maintainer: Dominik Stanisław Suchora <suchora.dominik7@gmail.com>

pkgname='reliq'
pkgver=2.9.2938ba5
pkgrel=1
pkgdesc='html parsing and searching tool'
arch=('any')
url='https://github.com/TUVIMEN/reliq'
license=('GPL-3.0-or-later')
provides=('reliq')
source=('git+https://github.com/TUVIMEN/reliq')
sha256sums=('SKIP')
makedepends=('git')

prepare() {
    cd "${pkgname}"

    git checkout -q 2938ba599dc22d29cab6ea4b68cd6ef861393b4c
}

build() {
    cd "${pkgname}"

    make
}

package(){
    cd "${pkgname}"

    make install PREFIX="${pkgdir}/usr"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}