blob: b52c7f8e719da4609e40f8219e021d9d651dbf87 (
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: zjuyk <ownbyzjuyk(at)gmail(dot)com>
# Contributer: pyamsoft <pyam(dot)soft(at)gmail(dot)com>
#
# Updated by jonathon: https://aur.archlinux.org/account/jonathon
##
_gitname=xwinwrap
pkgname="${_gitname}"-git
pkgdesc="Fork of XwinWrap from takase1121 on GitHub"
pkgver=r20.539fc47
pkgrel=1
arch=('x86_64')
makedepends=('git')
depends=('libx11' 'libxext' 'libxrender')
provides=('xwinwrap')
conflicts=('xwinwrap')
license=(custom)
url="https://github.com/takase1121/xwinwrap"
source=("git+${url}#branch=master" LICENSE)
sha256sums=('SKIP'
'9b445615c864519effd483f60c9877de671708f6c3807841ef1514490ae61903')
pkgver() {
cd "${_gitname}" || return 1
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
make -C "${_gitname}" || return 1
}
package() {
# From https://bazaar.launchpad.net/~shantanu-goel/xwinwrap/devel/view/head:/xwinwrap.c
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
cd "${_gitname}" || return 1
install -D xwinwrap "${pkgdir}"/usr/bin/xwinwrap
}
|