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 --- libsha1/PKGBUILD | 29 +++++++++++++++++++++++++++++ libsha1/upload | 1 + 2 files changed, 30 insertions(+) create mode 100644 libsha1/PKGBUILD create mode 120000 libsha1/upload (limited to 'libsha1') diff --git a/libsha1/PKGBUILD b/libsha1/PKGBUILD new file mode 100644 index 0000000..2a0de0b --- /dev/null +++ b/libsha1/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libsha1 +pkgver=1.0 +pkgrel=1 +pkgdesc="SHA-1 and SHA-0 hashing library" +arch=(i686 x86_64) +url="https://github.com/maandree/libsha1" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=(libsha1-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(94b9de0edde7a922bb96ccc3585f06b9d9bce0adc0261bfd4e19048544782825) + +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/libsha1/upload b/libsha1/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libsha1/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2