summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 062a40541de778b5026bdadf7189e7ec6af35cc6 (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
# Maintainer: Andrei Embarque <andreijosee@zoho.com>

_pkgname='xwinwrap'
pkgname="${_pkgname}-mmhobi7-git"
pkgver=r30.391519d
pkgrel=1
pkgdesc="X11 Window in desktop enviroment background (mmhobi7 fork)"
arch=('x86_64')
url="https://github.com/mmhobi7/xwinwrap"
depends=('libx11' 'libxrender' 'libxext')
makedepends=('git')
provides=('xwinwrap')
conflicts=('xwinwrap')
source=("https://github.com/mmhobi7/xwinwrap.git")
sha256sums=('SKIP')

prepare() {
    git clone --single-branch --branch master https://github.com/mmhobi7/xwinwrap.git ${pkgname}
}

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

build() {
    cd "${pkgname}"
	make
}

package() {
    cd "${pkgname}"
	make DESTDIR="$pkgdir" install
}