blob: ccd4a992270cd5da3d588c4119bc7eae45c169bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Maxim Kurnosenko <asusx2@mail.ru>
_pkgname=xlunch
pkgname=xlunch-git
pkgver=2.4.1.r0.g0468acc
pkgrel=1
pkgdesc="Graphical app launcher for X with little dependencies"
arch=('i686' 'x86_64')
url="http://xlunch.org/"
license=('GPL3')
depends=('sh' 'libx11' 'imlib2')
makedepends=()
checkdepends=()
optdepends=()
provides=('xlunch')
conflicts=('xlunch')
source=('git+https://github.com/Tomas-M/xlunch.git'
'xlunch-create-entry'
'xlunch-conf-gen.hook'
'xlunch-conf-install.hook'
'xlunch-conf-remove.hook')
md5sums=('SKIP'
'914c8dbbf6fdf4925de0ebe1d4cc8ea7'
'5cedcafe1ba39961a84f1634958ca478'
'b3e91a3ded90c24d56a42df84124df29'
'aa9654e2adae39523d5d56abd4cbca92')
pkgver() {
cd "$_pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
make xlunch
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 xlunch "$pkgdir"/usr/bin/xlunch
install -Dm755 extra/genconf "$pkgdir"/usr/bin/xlunch-genconf
install -Dm755 extra/sample_config.cfg "$pkgdir"/etc/xlunch/icons.conf
install -Dm755 ../xlunch-create-entry "$pkgdir"/usr/bin/xlunch-create-entry
install -Dm644 ../xlunch-conf-gen.hook "$pkgdir"/usr/share/libalpm/hooks/xlunch-conf-gen.hook
install -Dm644 ../xlunch-conf-install.hook "$pkgdir"/usr/share/libalpm/hooks/xlunch-conf-install.hook
install -Dm644 ../xlunch-conf-remove.hook "$pkgdir"/usr/share/libalpm/hooks/xlunch-conf-remove.hook
}
|