aboutsummaryrefslogtreecommitdiffstats
path: root/libsimple/PKGBUILD
blob: bda2d8178c9c8452196bfa9a9c6890ecd779ccf7 (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
25
26
27
28
29
30
31
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=libsimple
pkgver=1.7
pkgrel=1
pkgdesc="A bunch of C functions that are useful when writing simple code"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/libsimple"
license=('ISC')
depends=()
makedepends=()
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha512sums=(a9c3fe9fdf4d5691fc8ef96585a79e031ecf5255cbf6b5dc7eeb53bc7eda8d87553b2da0abf75dde3cbb6999db9dd046a55f03cead018470506b8de9c89238f1)


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


check() {
  cd "$srcdir/$pkgname"
  make check
}


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