blob: b39148ae2f00d4fd8bab57747503fd9e05c115bb (
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
|
# Maintainer: nezu <nezu@nezu.cc>
pkgname=givemebadge-git
_pkgname=givemebadge
pkgver=e17fb70
pkgrel=2
pkgdesc="Pretty simple Discord bot to get the active developer badge"
arch=('any')
url="https://github.com/AlexFlipnote/GiveMeBadge"
license=('MIT')
depends=('python' 'python-colorama' 'python-requests' 'python-discord')
provides=('givemebadge')
conflicts=('givemebadge')
source=("start.sh" "$_pkgname::git+$url")
sha256sums=('ef09169e18bb768d482a156ce918b33738e2b97b124c13aede1373464b8f6642'
'SKIP')
pkgver() {
cd "$_pkgname"
git describe --tags --always | sed 's#v##;s#-#+#g;s#+#+r#'
}
package() {
install -Dm644 "$_pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$_pkgname"
install -Dm644 "$_pkgname/index.py" -t "$pkgdir/usr/share/$_pkgname"
install -Dm755 "start.sh" "$pkgdir/usr/bin/$_pkgname"
}
|