-
Notifications
You must be signed in to change notification settings - Fork 1
/
PKGBUILD
43 lines (35 loc) · 935 Bytes
/
PKGBUILD
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
41
42
43
# Maintainer: Arseniy Lebedev <[email protected]> & Abdalaziz Rashid <[email protected]> & Maxim Kochurov <[email protected]>
author=esseswann
pkgname=geh
_gitname=geh
pkgver=0.r.
pkgrel=1
pkgdesc='A rather questionable screensaver'
url='https://github.com/esseswann/geh'
arch=('any')
license=('MIT')
makedepends=('git')
conflicts=('SKIP')
provides=('geh')
# include config.h and any patches you want to have applied here
source=("git://github.com/$author/$_gitname.git")
md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$_gitname"
printf '0.r%s.%s' \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$_gitname"
}
build() {
cd "$_gitname"
}
package() {
cd "$_gitname"
mkdir -p "$pkgdir/usr/share/$pkgname"
cp -a --no-preserve=ownership * "$pkgdir/usr/share/$pkgname"
chmod -R 777 "$pkgdir/usr/share/$pkgname"
}