summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Chrétien2015-07-05 16:28:59 +0900
committerBenjamin Chrétien2015-07-05 16:29:11 +0900
commitf418df1331cd242e1a81216ecbd248805032fc52 (patch)
tree153299188364509ee90c65e639ed889c645393e6
parent93fd8638bfd451f1f438edab0187eda83f24752e (diff)
downloadaur-f418df1331cd242e1a81216ecbd248805032fc52.tar.gz
Install examples to /usr/share/doc/rofi/examples instead
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3aa45222c798..9612a0c1185f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rofi-git
pkgdesc = Popup window switcher roughly based on superswitcher, requiring only xlib and xft. DaveDavenport's fork
- pkgver = 0.15.5.r37.g5c9ad80
+ pkgver = 0.15.5.r38.g9b83c61
pkgrel = 1
url = https://davedavenport.github.io/rofi/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 805e8ce0d50e..678325fb2a84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=rofi-git
_gitname=rofi
-pkgver=0.15.5.r37.g5c9ad80
+pkgver=0.15.5.r38.g9b83c61
pkgrel=1
pkgdesc="Popup window switcher roughly based on superswitcher, requiring only xlib and xft. DaveDavenport's fork"
arch=('i686' 'x86_64')
@@ -36,10 +36,7 @@ package() {
cd "$srcdir/$_gitname"
make install install-man DESTDIR="$pkgdir"
- # Install examples to /usr/share/rofi
- install -m 755 -d "$pkgdir/usr/share/rofi/"
- for example in `find "Examples" -type f -name "*.sh"`
- do
- install -m 755 "$example" "$pkgdir/usr/share/rofi/$(basename $example)"
- done
+ # Install examples to /usr/share/doc/rofi/examples
+ install -dm755 "$pkgdir/usr/share/doc/rofi/examples"
+ install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/rofi/examples"
}