author | Jelle van der Waa
<jelle@archlinux.org> 2018-08-04 16:18:48 UTC |
committer | Jelle van der Waa
<jelle@archlinux.org> 2018-08-04 16:18:48 UTC |
parent | 7e87c8ecd611388d3948fa50e0a9b6b30d7a7358 |
PKGBUILD | +9 | -3 |
missing-desktop-file-utils.patch | +11 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index 80edf8f..8436b5f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=namcap pkgver=3.2.8 -pkgrel=1 +pkgrel=2 pkgdesc="A Pacman package analyzer" arch=('any') url="http://projects.archlinux.org/namcap.git/" @@ -11,8 +11,14 @@ license=('GPL') depends=('python' 'pyalpm>=0.5' 'licenses' 'binutils' 'elfutils' 'python-pyelftools') makedepends=('python-setuptools') -source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('504b8294a86fdcc15946098fa57a4b6ca3bea0daf9ec51e7eab62078225b2102f527e123a9aeee33b8c4151adb8a59c5a682e25fd0330bd576d3da737f2a7d81') +source=(https://sources.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz missing-desktop-file-utils.patch) +sha512sums=('504b8294a86fdcc15946098fa57a4b6ca3bea0daf9ec51e7eab62078225b2102f527e123a9aeee33b8c4151adb8a59c5a682e25fd0330bd576d3da737f2a7d81' + '74efb1939053f41129cd811cf84abef8ff84ca4673cb62c3115b9d56830a57a48fed021b9807a74299c4c4cf3ec1880733f91dd5d06f4b9ac294fc78a9b5498e') + +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/missing-desktop-file-utils.patch +} build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/missing-desktop-file-utils.patch b/missing-desktop-file-utils.patch new file mode 100644 index 0000000..469e2ca --- /dev/null +++ b/missing-desktop-file-utils.patch @@ -0,0 +1,11 @@ +diff -aur namcap-3.2.8/namcap-tags namcap-3.2.8.new/namcap-tags +--- namcap-3.2.8/namcap-tags 2018-07-07 03:52:57.000000000 +0200 ++++ namcap-3.2.8.new/namcap-tags 2018-08-04 17:43:17.776311307 +0200 +@@ -98,6 +98,7 @@ + dconf-needed-for-glib-schemas :: needed for glib schemas + glib2-needed-for-gio-modules :: needed for GIO modules + hicolor-icon-theme-needed-for-hicolor-dir :: needed for hicolor theme hierarchy ++desktop-file-utils-needed :: needed for update-desktop-database + kdebase-runtime-needed %s :: needed for programs %s + java-runtime-needed %s :: found class files %s + libraries-needed %s %s :: libraries %s needed in files %s