summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2021-01-18 11:39:53 +0100
committerHugo Osvaldo Barrera2021-01-18 11:39:53 +0100
commit1c5077de26132ef94615707315f46cb8fb762b0a (patch)
tree53aafb49ba4eb2cee9ac947778e923f7ad873a69
parent75833e8c09bf0a627ef0d5da1d25c1a7ab2471a9 (diff)
downloadaur-1c5077de26132ef94615707315f46cb8fb762b0a.tar.gz
Add missing makedepends
And remove unnecessary `options` and `install`.
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--caffeine-ng-git.install13
3 files changed, 3 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f4ba0dd5674..7f3d063cd887 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,9 +3,10 @@ pkgbase = caffeine-ng-git
pkgver = 3.4.2.post22+g4ec5e87
pkgrel = 1
url = https://github.com/caffeine-ng/caffeine-ng
- install = caffeine-ng-git.install
arch = any
license = GPL3
+ makedepends = git
+ makedepends = python-setuptools-scm
depends = python-gobject
depends = python-xdg
depends = python-dbus
@@ -27,8 +28,6 @@ pkgbase = caffeine-ng-git
conflicts = caffeine-systray
replaces = caffeine-oneclick
replaces = caffeine-systray
- options = !emptydirs
- options = !libtool
source = git+https://github.com/caffeine-ng/caffeine-ng.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 8eed528484f7..dc1a177d400f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,11 +11,10 @@ license=(GPL3)
depends=(python-gobject python-xdg python-dbus python-docopt python-ewmh gtk3
libnotify python-setproctitle python-wheel python-pulse-control)
optdepends=("libindicator-gtk3: AppIndictor support.")
+makedepends=(git python-setuptools-scm)
conflicts=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
provides=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
replaces=(caffeine-oneclick caffeine-systray)
-options=(!emptydirs !libtool)
-install=$pkgname.install
source=("git+https://github.com/caffeine-ng/$_pkgname.git")
sha256sums=('SKIP')
diff --git a/caffeine-ng-git.install b/caffeine-ng-git.install
deleted file mode 100644
index cfa29a3e485f..000000000000
--- a/caffeine-ng-git.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- gtk-update-icon-cache -qtf usr/share/icons/hicolor
- update-desktop-database -q
- glib-compile-schemas usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}