aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts/PKGBUILD
blob: 8858f600f35bec9e6e9ebe91ae67410af594199d (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
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=libcontacts
pkgver=1.0
pkgrel=1
pkgdesc="A library for handling a simple, flexible contact list"
arch=(x86_64)
url="https://github.com/maandree/libcontacts"
license=('custom:ISC')
depends=()
checkdepends=()
makedepends=()
source=(libcontacts-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(208696e963157ef48fe517a83904ff0e860d2a0c2be8455dd85be2b96bff71d0)

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

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

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