summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7575f037a3efed67cd4d36d256824fa4b1a47d20 (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
pkgname=blingbling-git
pkgver=252.a1eec05
pkgrel=1
pkgdesc="Fancy Widgets, Popups and signals for Awesome WM"
arch=('any')
url="https://github.com/cedlemo/blingbling"
license=('GPL2')
depends=('awesome'
         'lua-oocairo-git')
makedepends=('git')
conflicts=('blingbling')
provides=('blingbling')
source=("git://github.com/cedlemo/blingbling.git")
md5sums=('SKIP')

pkgver() {
  cd blingbling
  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -dm755 "$pkgdir/usr/share/awesome/lib/blingbling"
  rm -r blingbling/{doc,config_example,.git*}
  cp -a blingbling "$pkgdir/usr/share/awesome/lib/"
}