From 49df00e528fd1a863d2f33373b5926cb210e6016 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Feb 2019 21:05:25 +0100 Subject: ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsha2/PKGBUILD | 29 +++++++++++++++++++++++++++++ libsha2/upload | 1 + 2 files changed, 30 insertions(+) create mode 100644 libsha2/PKGBUILD create mode 120000 libsha2/upload (limited to 'libsha2') diff --git a/libsha2/PKGBUILD b/libsha2/PKGBUILD new file mode 100644 index 0000000..aac0ee7 --- /dev/null +++ b/libsha2/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libsha2 +pkgver=1.0.2 +pkgrel=1 +pkgdesc="SHA-2-family hashing library" +arch=(i686 x86_64) +url="https://github.com/maandree/libsha2" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=(libsha2-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(61601acb20e1e48161672783b851c12542c812b38b439bdc3615f22fbb2ef755) + +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 +} diff --git a/libsha2/upload b/libsha2/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libsha2/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2