diff options
author | Michael Riegert | 2020-08-15 16:46:51 -0400 |
---|---|---|
committer | Michael Riegert | 2020-08-15 16:46:51 -0400 |
commit | d775bdac59bbaa0ac62b312afc998040063d35a3 (patch) | |
tree | dfebf1908259e2bc332dc8d681dc8887df73eb77 | |
parent | 261193403f794455d3497ee983cd9df94e007b03 (diff) | |
download | aur-d775bdac59bbaa0ac62b312afc998040063d35a3.tar.gz |
Fix PKGBUILD and update dependencies
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 22 insertions, 15 deletions
@@ -1,13 +1,15 @@ pkgbase = uml_utilities pkgdesc = User Mode Linux Utilities (Debian package uml-utilities). It contains uml_net, uml_mconsole, uml_switch, tunctl, … and the lib port-helper. pkgver = 20070815 - pkgrel = 1 + pkgrel = 2 url = http://user-mode-linux.sourceforge.net/ arch = i686 arch = x86_64 license = GPL2 depends = fuse - depends = readline + depends = perl + provides = uml_utilities + conflicts = uml_utilities source = http://user-mode-linux.sourceforge.net/uml_utilities_20070815.tar.bz2 source = uml_utilities.patch md5sums = b0468ac8b79cef53f36f5f9517907462 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a5e2b9b58c19 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD +!uml_utilities.patch @@ -1,15 +1,15 @@ -# Maintainer : JulioJu < juanes 0890 at google mail dot com > +# Maintainer: Michael Riegert <michael at eowyn net> # Contributor: JulioJu < juanes 0890 at google mail dot com > # Contributor: Maks Verver <maksverver at geocities dot com> pkgname=uml_utilities pkgver=20070815 -pkgrel=1 +pkgrel=2 pkgdesc="User Mode Linux Utilities (Debian package uml-utilities). It contains uml_net, uml_mconsole, uml_switch, tunctl, … and the lib port-helper." arch=(i686 x86_64) -depends=('fuse' 'readline') -provides=('') -conflicts=('') +depends=('fuse' 'perl') +provides=('uml_utilities') +conflicts=('uml_utilities') url="http://user-mode-linux.sourceforge.net/" source=( "http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2" @@ -20,18 +20,18 @@ md5sums=( '8fbcca01953da90c48f5ec06f564480f') prepare() { - cd "$srcdir/tools-$pkgver" - patch -Np1 -i "${srcdir}/uml_utilities.patch" + cd "$srcdir/tools-$pkgver" + patch -Np1 -i "${srcdir}/uml_utilities.patch" } build() { - cd "$srcdir/tools-$pkgver" - make + cd "$srcdir/tools-$pkgver" + make } package() { - cd "$srcdir/tools-$pkgver" - make DESTDIR="$pkgdir" install - mv "$pkgdir/usr/sbin/"* "$pkgdir/usr/bin/" && rmdir "$pkgdir/usr/sbin/" || return 4 - chown root "$pkgdir/usr/bin/"* + cd "$srcdir/tools-$pkgver" + make DESTDIR="$pkgdir" install + mv "$pkgdir/usr/sbin/jail_uml" "$pkgdir/usr/bin/" && rmdir "$pkgdir/usr/sbin/" || return 4 + chown root "$pkgdir/usr/bin/"* } |