-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPKGBUILD
27 lines (24 loc) · 836 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
# Maintainer: Maxime "M4x1m3" FRIESS <M4x1me at protonmail dot com>
pkgname=gedit-plugin-discord-rpc
pkgver=3.ffc4fff
pkgrel=1
pkgdesc="A Dircord RPC plugin for gedit."
arch=('any')
url="https://github.com/M4xi1m3/gedit-discord-rpc"
license=('MIT')
groups=()
depends=('gedit' 'python-pypresence')
makedepends=('git')
install=
source=("$pkgname::git+https://github.com/M4xi1m3/gedit-discord-rpc")
md5sums=('SKIP')
package() {
cd $srcdir/$pkgname
install -D -m 644 "discord-rpc.plugin" "${pkgdir}/usr/lib/gedit/plugins/discord-rpc/discord-rpc.plugin"
install -D -m 644 "discord-rpc.py" "${pkgdir}/usr/lib/gedit/plugins/discord-rpc/discord-rpc.py"
install -D -m 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}