diff options
author | Klimenko Maxim Sergievich | 2022-07-11 23:16:51 +0300 |
---|---|---|
committer | Klimenko Maxim Sergievich | 2022-07-11 23:16:51 +0300 |
commit | 9440c1dfca94d33b0576b812e444f4338f8da36a (patch) | |
tree | e0864b9cb72535782b30d7fc8b727fb7ed9be0f6 | |
download | aur-9440c1dfca94d33b0576b812e444f4338f8da36a.tar.gz |
Rollback deleted package
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9be6299920ee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = udev-notify + pkgdesc = Notify about connected usb devices. + pkgver = 40 + pkgrel = 1 + url = https://launchpad.net/udev-notify + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = go-pie + depends = openvpn + provides = udev-notify + conflicts = udev-notify + options = !strip + options = !emptydirs + source = bzr+lp:~i026e/udev-notify/python3 + sha256sums = SKIP + +pkgname = udev-notify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3a1d8725087 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> +# Contributor: Alexander De Sousa <archaur.xandy21@spamgourmet.com> + +pkgname=udev-notify +pkgver=40 +pkgrel=1 +pkgdesc="Visual hardware notifications for Linux. (Bazaar version)" +arch=('i686' 'x86_64') +url="https://launchpad.net/udev-notify" +license=('GPL3') +depends=('libnotify' 'udev' 'python-notify2' 'python-pyudev') +makedepends=('bzr') +source=('udev-notify::bzr+lp:~i026e/udev-notify/python3') +sha1sums=('SKIP') +conflicts=('udev-notify') +provides=('udev-notify') + +_bzrmod="udev-notify" + +pkgver() { + cd "${_bzrmod}" + echo "$(bzr revno)" +} + +prepare() { + cd "${_bzrmod}" + + # Prepare Makefile + sed -e 11d -e '/debian-package.sh/d' -e '/pyudev/d' -e 's|\./build/debian|$(DESTDIR)|g' -i Makefile + # Force use python2 + sed 's|env python|env python|g' -i src/udev-notify.py +} + +package() { + make -C "${_bzrmod}" DESTDIR="${pkgdir}" +} + |