Skip to content
Snippets Groups Projects
Commit 5db0807f authored by Felix Yan's avatar Felix Yan
Browse files

addpkg: 0.15.0-1

parents
Branches main
Tags 28.1-1
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: banbanchs <memory.silentvoyage@gmail.com>
pkgname=libcork
pkgver=0.15.0
pkgrel=1
pkgdesc="A simple, easily embeddable cross-platform C library"
arch=('i686' 'x86_64')
url="https://github.com/redjack/libcork"
license=('BSD')
depends=('glibc')
makedepends=('cmake' 'check' 'git')
checkdepends=('python')
source=("git+https://github.com/redjack/libcork.git#tag=$pkgver")
sha256sums=('SKIP')
prepare() {
mkdir build
}
build() {
cd build
cmake ../libcork -DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd build
make test
}
package() {
cd build
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir"/$pkgname/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment