blob: 4ade2a7d53c3f8405ce3f1ef044758d8e16f3a08 (
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
|
# Maintainer: Maxime "M4x1m3" FRIESS <M4x1me at protonmail dot com>
pkgname=gedit-plugin-discord-rpc-git
pkgver=4.72dca08
pkgrel=1
pkgdesc="A Discord 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)"
}
|