aboutsummaryrefslogtreecommitdiffstats
path: root/liberror/PKGBUILD
blob: 662840f5fec8489a32dccd4dcb56a4f30dae134a (plain) (blame)
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: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=liberror
pkgver=1.1.1
pkgrel=1
pkgdesc="Library for custom errors"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/liberror"
license=('ISC')
depends=()
checkdepends=()
makedepends=()
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(3af9a50b44b086c37698b6df097edba29a9208aa36b28e38ae1b470e77348e27)

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

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