summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bf233faf4a54f931057c68900fe3852161bc01e (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: grialion <grialion@grial.tech>
pkgname=rpcpp-git
pkgver=2.2.0
pkgrel=1
pkgdesc='Tool for Discord RPC to let your friends know about your Linux system'
arch=('any')
url='https://github.com/grialion/rpcpp'
license=('MIT')
depends=('wget' 'unzip' 'libx11')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git+"${url}".git)
md5sums=('SKIP')

prepare() {
	cd "$srcdir/${pkgname%-git}"
	sh setup.sh
}

build() {
	cd "$srcdir/${pkgname%-git}"
	make
}

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