diff options
author | yadieet | 2017-02-28 00:32:53 +0700 |
---|---|---|
committer | yadieet | 2017-02-28 00:32:53 +0700 |
commit | f7a26921bd0c917eaf95240d524ec7d1ba84e6da (patch) | |
tree | 349d8202221ad0c02e2cf7c75669d1c7640e38e8 | |
parent | fe55af326d67fbb6f1ccff526c3fa40424bdca6c (diff) | |
download | aur-f7a26921bd0c917eaf95240d524ec7d1ba84e6da.tar.gz |
2.29.2-1
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 19 insertions, 21 deletions
@@ -1,7 +1,7 @@ pkgbase = sudx pkgdesc = Run bash shell as another user with D-Bus enabled, useful for running GUI/X applications that need D-Bus. - pkgver = 2.28.2 - pkgrel = 5 + pkgver = 2.29.2 + pkgrel = 1 url = https://github.com/yadieet/sudx arch = i686 arch = x86_64 @@ -10,12 +10,12 @@ pkgbase = sudx makedepends = python depends = bash depends = dbus - depends = util-linux=2.28.2 + depends = util-linux=2.29.2 options = strip - source = https://www.kernel.org/pub/linux/utils/util-linux/v2.28/util-linux-2.28.2.tar.xz - source = sudx-2.28.2-5.c::https://raw.githubusercontent.com/yadieet/sudx/319ac198ba5338b37fc5bb36a0c81ae214859c07/sudx.c - md5sums = 46a232a37bce45371a86d19300edc47a - md5sums = 42b298d1fbb4218ce693a46db6bf48ee + source = https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-2.29.2.tar.xz + source = sudx-2.29.2-1.c::https://raw.githubusercontent.com/yadieet/sudx/7d82bc93255f9192760162ecc3d04ac6e79f91d1/sudx.c + md5sums = 63c40c2068fcbb7e1d5c1d281115d973 + md5sums = 7b1578ae9add076c5301acd4085c6f23 pkgname = sudx @@ -1,32 +1,31 @@ # Maintainer: yadieet <yadieet@gmail.com> pkgname=sudx -ulmajver=2.28 -ulminver=2 -pkgver=$ulmajver.$ulminver -pkgrel=5 +ulmajver=2.29 +ulver=$ulmajver.2 +pkgver=$ulver +pkgrel=1 pkgdesc="Run bash shell as another user with D-Bus enabled, useful for running GUI/X applications that need D-Bus." url="https://github.com/yadieet/sudx" arch=('i686' 'x86_64') -depends=('bash' 'dbus' "util-linux=$ulmajver.$ulminver") +depends=('bash' 'dbus' "util-linux=$ulver") makedepends=('systemd' 'python') license=('GPL2') options=('strip') -gcid=319ac198ba5338b37fc5bb36a0c81ae214859c07 +gcid=7d82bc93255f9192760162ecc3d04ac6e79f91d1 -source=("https://www.kernel.org/pub/linux/utils/util-linux/v$ulmajver/util-linux-$ulmajver.$ulminver.tar.xz" +source=("https://www.kernel.org/pub/linux/utils/util-linux/v$ulmajver/util-linux-$ulver.tar.xz" "sudx-$pkgver-$pkgrel.c::https://raw.githubusercontent.com/yadieet/sudx/$gcid/sudx.c") -md5sums=('46a232a37bce45371a86d19300edc47a' - '42b298d1fbb4218ce693a46db6bf48ee') +md5sums=('63c40c2068fcbb7e1d5c1d281115d973' + '7b1578ae9add076c5301acd4085c6f23') prepare() { - cd "util-linux-$ulmajver.$ulminver" - #patch -p0 -i ../sudx-$pkgver.patch + cd "util-linux-$ulver" cp ../sudx-$pkgver-$pkgrel.c login-utils/su.c } build() { - cd "util-linux-$ulmajver.$ulminver" + cd "util-linux-$ulver" ./configure --prefix=/usr \ --libdir=/usr/lib \ --bindir=/usr/bin \ @@ -38,13 +37,12 @@ build() { --enable-chfn-chsh \ --enable-write \ --enable-mesg \ - --enable-libmount-force-mountinfo \ --with-python=3 make su } package() { - cd "util-linux-$ulmajver.$ulminver" + cd "util-linux-$ulver" install -D -m4755 su ${pkgdir}/usr/bin/sudx } |