summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c50caa4ace0395935ed09cdc2f78bf8fe0367e31 (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
#!/bin/sh
# Maintainer: hairlinehd <slimender123@gmail.com>
pkgname='obgk'
_pkgname='obgk'
pkgver=latest
pkgrel=1
pkgdesc="osu!stable video and background deleter"
arch=('x86_64')
url="https://github.com/shoplifterhd/obgk"
license=('Unlicense')
depends=('bash' 'fd' 'findutils' 'wget')
makedepends=('git')
optdepends=('zenity: nice gui to select your songs folder')
source=('git+https://github.com/shoplifterhd/obgk.git')
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
	cd "$pkgname"
	# idk a better way to ignore build()
	echo "installing"
} 

package () {
	cd "$pkgname"
	install -Dm755 ./obgk "$pkgdir/usr/bin/obgk"
}