summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c0065e58e092576a08a846496e7c002c8cfd692 (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
# Maintainer: Acidhub <dev@acidhub.click>

pkgname=stlib-plugins-git
pkgver=20190108.27.c3ce42e
pkgrel=1
pkgdesc="A set of stlib official plugins"
arch=('x86_64')
url="https://github.com/ShyPixie/stilib-plugins"
depends=('python>=3.6' 'python-aiohttp' 'python-beautifulsoup4')
makedepends=('git')
license=('GPL')
source=("git+https://github.com/ShyPixie/${pkgname%-*}")
sha256sums=('SKIP')

pkgver() {
    cd "${pkgname%-*}"
	echo "$(date +%Y%m%d).$(git rev-list --count master).$(git rev-parse --short master)" 
}

build() {
    cd "${pkgname%-*}"
    make
}

package() {
    cd "${pkgname%-*}"
    make DESTDIR="$pkgdir" PREFIX="/usr" install
}