summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6376d63fa3579ee8dc628e3d9975162a89ac1fd1 (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
# Maintainer: Black_Codec <orso.f.regna@gmail.com>

pkgname=rapidlauncher-git
_pkgname=RapidLauncher
pkgrel=3
pkgver=r95.44bc2f9
pkgdesc="Rapid Launcher is an application launcher that is supposed to be fast and relatively lightweight."
arch=('i686' 'x86_64')
url="https://github.com/echo-devim/RapidLauncher"
license=('GPL')
depends=('gtk3' 'vala')
provides=('rapidlauncher')
conflicts=('rapidlauncher')
source=("git+https://github.com/echo-devim/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

build() {
 cd "$srcdir/$_pkgname"
 sed -i 's/\"\/usr/\"\$\(DESTDIR\)\/usr/g' misc/Makefile
 make
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir" install
}