summaryrefslogtreecommitdiff
path: root/pcr/xdgmenumaker/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/xdgmenumaker/PKGBUILD')
-rw-r--r--pcr/xdgmenumaker/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/pcr/xdgmenumaker/PKGBUILD b/pcr/xdgmenumaker/PKGBUILD
index 41bc2a954..f703c2c3f 100644
--- a/pcr/xdgmenumaker/PKGBUILD
+++ b/pcr/xdgmenumaker/PKGBUILD
@@ -9,7 +9,7 @@ url="https://github.com/gapan/$pkgname"
arch=('any')
license=('GPLv3')
-depends=('pygtk' 'pygobject-devel' 'gobject-introspection')
+depends=('pygtk' 'pygobject-devel' 'gobject-introspection' 'python-gobject' 'python-xdg')
optdepends=('txt2tags: for manpages')
source="https://github.com/gapan/${pkgname}/archive/${pkgver}.tar.gz"
sha512sums=('802a11cafefc3ab8e411685da04a9687b33b57efe67a93b42de43d95039489dca5fe110d6642995b241d382e1b2ee65e06a0bd548ae31ed5d1aeb243dd96c645')
@@ -23,4 +23,8 @@ package() {
cd "$pkgname-$pkgver"
mkdir -p $pkgdir/usr/local/share/desktop-directories
make DESTDIR="$pkgdir/" install
+ ## begin fix for depreciated /usr/local install location ##
+ mkdir -p $pkgdir/usr/bin
+ mv $pkgdir/usr/local/bin/xdgmenumaker $pkgdir/usr/bin
+ rm -rf $pkgdir/usr/local/bin
}