diff options
author | Mike Javorski | 2022-10-12 18:38:41 -0700 |
---|---|---|
committer | Mike Javorski | 2022-10-12 18:38:41 -0700 |
commit | 617c7c7f0d53194974288410b01f6873675b0f94 (patch) | |
tree | af525b00b484c48c18f30deb2df7e8c3fe2b3425 | |
parent | aefb4765746161acf1995fa8f79cdf08c658f5d8 (diff) | |
download | aur-617c7c7f0d53194974288410b01f6873675b0f94.tar.gz |
Alter dependency used on dput startup to look for correct xdg distribution
Debian overrides the name of the pyxdg distribution and dput assumes
this naming; Arch does not.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = dput pkgdesc = Debian package upload tool pkgver = 1.1.2 - pkgrel = 2 + pkgrel = 3 url = http://packages.qa.debian.org/dput arch = any license = GPL @@ -3,7 +3,7 @@ # Contributor: Andre Klitzing <andre () incubo () de> pkgname=dput pkgver=1.1.2 -pkgrel=2 +pkgrel=3 pkgdesc="Debian package upload tool" arch=('any') url="http://packages.qa.debian.org/dput" @@ -15,6 +15,10 @@ md5sums=('21d77e7607cce37a42f7be38e5df8335') build() { cd "$pkgname-$pkgver" + + # Adjust requirement, so that pyxdg is used when dput verifies dependencies (Debian overrrides the name of the pyxdg package instead) + sed -ri -e 's/"xdg"/"pyxdg"/' setup.py + python setup.py build } |