diff options
author | JSH | 2016-05-08 05:52:07 -0400 |
---|---|---|
committer | JSH | 2016-05-08 05:52:07 -0400 |
commit | 0fdb35382b9b621a47b14060b5839a0f36b1d345 (patch) | |
tree | 786e37ebda18f7b08f0f74ffe7527101838b33d5 | |
download | aur-mnemonicode.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5b285302af14 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Sun May 8 09:37:39 UTC 2016 +pkgbase = mnemonicode + pkgdesc = Programs for encoding binary data into a sequence of words + pkgver = 0.73 + pkgrel = 3 + url = https://github.com/singpolyma/mnemonicode + arch = i686 + arch = x86_64 + license = MIT + depends = glibc + source = http://ftp.de.debian.org/debian/pool/main/m/mnemonicode/mnemonicode_0.73.orig.tar.gz + sha256sums = ada10b875afb13d2b9440a5fa7116a7bd54fe9ef0c4aecf1c7d559c718f13251 + +pkgname = mnemonicode + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f0f21e1920b3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: JSH <jsh6789 at gmail dot com> +# Contributor: Andres Erbsen <andres@krutt.org> + +pkgname=mnemonicode +pkgver=0.73 +pkgrel=3 +pkgdesc="Programs for encoding binary data into a sequence of words" +depends=('glibc') +arch=('i686' 'x86_64') +url="https://github.com/singpolyma/mnemonicode" +license=('MIT') +source=("http://ftp.de.debian.org/debian/pool/main/m/$pkgname/${pkgname}_${pkgver}.orig.tar.gz") +sha256sums=('ada10b875afb13d2b9440a5fa7116a7bd54fe9ef0c4aecf1c7d559c718f13251') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i '/fprintf.*stderr.*mn_wordlist_version/d' mnencode.c # remove a years-old deprecation warning + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm644 mnemonic.h "$pkgdir/usr/include/$pkgname/mnemonic.h" + install -Dm644 mnemonic.o "$pkgdir/usr/lib/$pkgname/mnemonic.o" + install -Dm755 mnencode "$pkgdir/usr/bin/mnencode" + install -Dm755 mndecode "$pkgdir/usr/bin/mndecode" +} |