-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
32 lines (28 loc) · 931 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
# Maintainer: poison <rc.poison@gmail.com>
_pkgname="steam-scraper"
pkgname="${_pkgname}-git"
pkgver=r53.70df7e2
pkgrel=1
pkgdesc="Scrapes categories/genres/user tags from the Steam shop API/store pages and adds them as categories in the Steam client."
arch=(any)
url="https://github.com/rcpoison/steam-scraper"
license=('WTFPL')
depends=('java-runtime')
makedepends=('git' 'java-environment' 'maven') # 'bzr', 'git', 'mercurial' or 'subversion'
source=("${_pkgname}::git+https://github.com/rcpoison/steam-scraper.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
./build.sh
}
package() {
cd "${srcdir}/${_pkgname}"
install -vD -m755 "${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
#mkdir -pv "$pkgdir/usr/bin"
#cp -v "${_pkgname}" "$pkgdir/usr/bin/"
#chmod +x "$pkgdir/usr/bin/${_pkgname}"
}