summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d513f26d8a3b4a9f5c2523a66cce2dcc094e0c7 (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
# Maintainer: Armin Preiml <apreiml@strohwolke.at>

pkgname=prunef
pkgver=1.0.0
pkgrel=1
pkgdesc='A backup rotation filter'
arch=('x86_64')
url='https://git.sr.ht/~apreiml/prunef'
license=('MIT')
makedepends=('go' 'scdoc')
provides=('prunef')
conflicts=('prunef')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~apreiml/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('6260021d226b9f8b31617e60b203d7bd99fa33fcc2ebc18688d79faa0199ce8c')

build() {
    cd "$srcdir/$pkgname-v$pkgver"
    make PREFIX=/usr
}

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