summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmlb2017-11-24 12:24:40 +0100
committersmlb2017-11-24 12:24:40 +0100
commit5287a34c0b8ca37e0e5486830b687262e86135a9 (patch)
tree0a11616d62c63d6d1a48ea33530cc68810f8e6f6
parente9f2a4eb5bb842f5b5f4d73eb3efa6ecc6e12402 (diff)
downloadaur-5287a34c0b8ca37e0e5486830b687262e86135a9.tar.gz
libthinkpad-git: provides and conflicts, .install
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
-rw-r--r--libthinkpad.install7
3 files changed, 15 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17f3b6ce4377..f31989317d07 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = libthinkpad-git
pkgver = 2.3.r11.g0a7a74d
pkgrel = 1
url = https://github.com/libthinkpad/libthinkpad
+ install = libthinkpad.install
arch = i686
arch = x86_64
license = BSD
@@ -14,7 +15,9 @@ pkgbase = libthinkpad-git
conflicts = libthinkpad
options = !strip
source = git://github.com/libthinkpad/libthinkpad
+ source = libthinkpad.install
md5sums = SKIP
+ md5sums = b44e3c7ddac879d57b45a709544df785
pkgname = libthinkpad-git
diff --git a/PKGBUILD b/PKGBUILD
index 13b4fafad28b..edeeec63675d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,10 +12,12 @@ makedepends=('cmake' 'git' 'pkg-config')
conflicts=('libthinkpad')
provides=('libthinkpad')
options=('!strip')
-source=("git://github.com/libthinkpad/libthinkpad")
-md5sums=('SKIP')
+_gitname=libthinkpad
+source=("git://github.com/libthinkpad/libthinkpad" "$_gitname.install")
+md5sums=('SKIP'
+ 'b44e3c7ddac879d57b45a709544df785')
+install=$_gitname.install
-_gitname=libthinkpad
pkgver() {
cd "$srcdir/$_gitname"
diff --git a/libthinkpad.install b/libthinkpad.install
new file mode 100644
index 000000000000..76022ecb580d
--- /dev/null
+++ b/libthinkpad.install
@@ -0,0 +1,7 @@
+post_install() {
+ echo ""
+ echo "You need to enable acpid"
+ echo "Run: systemctl enable acpid"
+ echo ""
+}
+