summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-06-11 16:24:54 +0200
committerMattias Andrée2015-06-11 16:24:54 +0200
commit5fddb433b2b6fc7a327f39cc27530843e4c783a5 (patch)
treeb2ae3b6566028ff227ad27ac7bcb6d1f7581d10a
downloadaur-use.tar.gz
Initial import, version 0:1.12.1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD36
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a05b1db1e7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = use
+ pkgdesc = A utility to help casual user install multiple versions of a software package
+ pkgver = 1.12.1
+ pkgrel = 1
+ url = http://use.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = custom:3-clause BSD
+ makedepends = gcc
+ makedepends = glibc
+ makedepends = make
+ makedepends = coreutils
+ makedepends = perl
+ makedepends = sed
+ depends = glibc
+ source = use-1.12.1.tar.gz::https://downloads.sourceforge.net/project/use/Version%201.12.1/use.d.tar.gz
+ sha256sums = 9efd990bd3e2cf40e74e56ecb7f849e5050e69aa24317633adbe2e1ce360efbe
+
+pkgname = use
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a8958d0e5a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=use
+pkgver=1.12.1
+pkgrel=1
+pkgdesc='A utility to help casual user install multiple versions of a software package'
+url='http://use.sourceforge.net/'
+arch=('i686' 'x86_64')
+license=('custom:3-clause BSD')
+depends=('glibc')
+makedepends=('gcc' 'glibc' 'make' 'coreutils' 'perl' 'sed')
+source=("use-${pkgver}.tar.gz::https://downloads.sourceforge.net/project/use/Version%20${pkgver}/use.d.tar.gz")
+sha256sums=('9efd990bd3e2cf40e74e56ecb7f849e5050e69aa24317633adbe2e1ce360efbe')
+
+
+build() {
+ cd "$srcdir/use.d"
+ ./configure.pl <<EOF
+/etc
+/usr/bin
+/usr/share/man/man1
+EOF
+ sed -i 's:\${INSTALL_:-- "\${DESTDIR}"&:g' Makefile.mk
+ make
+ sed -i 's:/usr/local/:/usr/:g' use.1 use.*sh
+ sed -i 's:/usr/share/use.table:/etc/use.table:g' use.1
+}
+
+package () {
+ cd "$srcdir/use.d"
+ mkdir -p -- "$pkgdir/etc"
+ mkdir -p -- "$pkgdir/usr/bin"
+ mkdir -p -- "$pkgdir/usr/share/man/man1"
+ make install DESTDIR="$pkgdir"
+}
+