blob: 2400a7379c229017f7484ceabc72a29385b2ffa6 (
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
|
_gitname=xwinwrap
pkgname="${_gitname}"-baitinq-git
pkgdesc="Fork of XwinWrap with some added settings (-r)"
pkgver=0
pkgrel=1
arch=('x86_64')
makedepends=('git')
depends=('libx11' 'libxext' 'libxrender')
provides=('xwinwrap')
conflicts=('xwinwrap')
license=(custom)
url="https://github.com/Baitinq/xwinwrap"
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_gitname}" || return 1
printf '0.r%s.%s' \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
make -C "${_gitname}" || return 1
}
package() {
cd "${_gitname}" || return 1
install -D xwinwrap "${pkgdir}"/usr/bin/xwinwrap
}
|