From f582a3973a6a9f251b9124fdeda6867553762c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 1 Nov 2020 03:24:14 +0300 Subject: Initial commit: tomlc99 library PKGBUILD --- PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..fb01084 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Yaroslav de la Peña Smirnov +pkgname=tomlc99-git +_pkgname=${pkgname%-git} +pkgver=r76.d17c005 +pkgrel=1 +epoch=1 +pkgdesc="TOML C library" +arch=('any') +url="https://github.com/cktan/$_pkgname" +license=('MIT') +makedepends=('make') +provides=('tomlc99') +conflicts=('tomlc99') +source=("git://github.com/cktan/$_pkgname.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$_pkgname" + make +} + +package() { + cd "$srcdir/$_pkgname" + make prefix="$pkgdir/usr/" install +} -- cgit v1.2.3