summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73d023abf6ead9eb6311c618922d3a1b75d1520c (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
# Maintainer: Dustin Willis Webber <dustin.webber@gmail.com>
pkgname=i3-gnome-git
_pkgbase=i3-gnome
pkgver=5.1.r2.g55ea56b
pkgrel=2
pkgdesc="Starts i3 inside a gnome session."
arch=("any")
url="https://github.com/mephux/i3-gnome"
license=("MIT")
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=("i3-gnome")
replaces=()
backup=()
options=()
install=
changelog=
source=(git+https://github.com/mephux/i3-gnome.git)
noextract=()
md5sums=("SKIP")

pkgver() {
  cd "$_pkgbase"
  git describe --tags --long|sed -r "s,^[^0-9],,;s,([0-9]*-g),r\1,;s,[-_],.,g"
}

build() {
  cd "$_pkgbase"

  make
}

package() {
  cd "$_pkgbase"

  make DESTDIR="$pkgdir/" install
}