summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ae34d72409b3a9b898706f79c0c2f9380ec4ef1 (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
# Maintainer: Alexandros Theodotou <alex at zrythm dot org>

pkgname=libcyaml
pkgver=0.1.0
pkgrel=1
pkgdesc="C library for reading and writing YAML"
arch=('x86_64')
url="https://github.com/tlsa/libcyaml"
license=('ISC')
depends=('libyaml')
source=("https://github.com/tlsa/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('SKIP')

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	cd "$pkgname-$pkgver"
  mkdir -p $pkgdir/usr/lib/pkgconfig $pkgdir/usr/include
	make DESTDIR="$pkgdir" PREFIX=/usr install
}