summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-03-10 15:10:00 -0600
committerMark Wagie2020-03-10 15:10:00 -0600
commitb464d14d20ea5f789e415a18bca50d9477449c50 (patch)
treeefc85ed5b164a33c604617cde3b0124dbf1a1819
parent87dfb6b46b966f35ff52d4f5d52f6345e16d0a0c (diff)
downloadaur-b464d14d20ea5f789e415a18bca50d9477449c50.tar.gz
added install file
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
-rw-r--r--goverlay.install8
3 files changed, 15 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b23cc9dc046e..1ecfa687593f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
pkgbase = goverlay-git
pkgdesc = An opensource project that aims to create a Graphical UI to help manage Linux overlays.
pkgver = 0.1.3.r11.g1f00701
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/benjamimgois/goverlay
+ install = goverlay.install
arch = x86_64
license = GPL3
makedepends = git
makedepends = lazarus
depends = gtk2
- optdepends = mangohud
+ optdepends = mangohud: Requires MangoHud.conf to save changes
provides = goverlay
conflicts = goverlay
source = git+https://github.com/benjamimgois/goverlay.git
diff --git a/PKGBUILD b/PKGBUILD
index 3a581e5d0f78..aee528c24037 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=goverlay-git
pkgver=0.1.3.r11.g1f00701
-pkgrel=2
+pkgrel=3
pkgdesc="An opensource project that aims to create a Graphical UI to help manage Linux overlays."
arch=('x86_64')
url="https://github.com/benjamimgois/goverlay"
license=('GPL3')
depends=('gtk2')
makedepends=('git' 'lazarus')
-optdepends=('mangohud')
+optdepends=('mangohud: Requires MangoHud.conf to save changes')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
+install="${pkgname%-git}.install"
source=('git+https://github.com/benjamimgois/goverlay.git')
sha256sums=('SKIP')
@@ -24,7 +25,7 @@ build() {
lazbuild \
--lazarusdir=/usr/lib/lazarus \
--build-all \
- goverlay.lpi
+ "${pkgname%-git}.lpi"
}
package() {
diff --git a/goverlay.install b/goverlay.install
new file mode 100644
index 000000000000..1d8e0315c60c
--- /dev/null
+++ b/goverlay.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo " -->> To save changes to MangoHud, you will need a configuration file."
+ echo " -->> See https://github.com/flightlessmango/MangoHud#hud-configuration"
+}
+
+post_upgrade() {
+ post_install
+}