diff options
author | Eric Anderson | 2020-06-28 09:57:46 -0500 |
---|---|---|
committer | Eric Anderson | 2020-06-28 09:57:46 -0500 |
commit | 81a9b1ec5932690b5d3e50e89621e2d4f6676588 (patch) | |
tree | debbcdab3bf481f3c9f7bcab66a7551235a42987 | |
download | aur-81a9b1ec5932690b5d3e50e89621e2d4f6676588.tar.gz |
Initial version, 1.4
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a331aa6bfa84 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = nomarch + pkgdesc = Extract, list, and test files from the old '.arc' archive format + pkgver = 1.4 + pkgrel = 1 + url = http://www.svgalib.org/rus/nomarch.html + arch = x86_64 + license = GPL2 + depends = glibc + source = https://ibiblio.org/pub/Linux/utils/compress/nomarch-1.4.tar.gz + sha256sums = fe20da34e0d3ba0cf6388701f44ac22224cf65130ddbc5fcbc27bc4949a6e1ad + +pkgname = nomarch + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f41a6543ada9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Eric Anderson <ejona86@gmail.com> + +pkgname=nomarch +pkgver=1.4 +pkgrel=1 +pkgdesc="Extract, list, and test files from the old '.arc' archive format" +arch=('x86_64') +url="http://www.svgalib.org/rus/nomarch.html" +license=('GPL2') +depends=('glibc') +source=("https://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz") +sha256sums=(fe20da34e0d3ba0cf6388701f44ac22224cf65130ddbc5fcbc27bc4949a6e1ad) + +prepare() { + cd "$pkgname-$pkgver" + sed -i 's/-o nomarch/-o nomarch $(LDFLAGS)/' Makefile +} + +build() { + cd "$pkgname-$pkgver" + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" +} + +package() { + cd "$pkgname-$pkgver" + make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man/man1" install +} |