-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
27 lines (25 loc) · 956 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: CoolFool <coolfool149@gmail.com>
pkgname=aurishem
pkgver=1.0.0
pkgrel=1
pkgdesc="Safe and Easy way to build and install packages directly from Arch User Repository"
arch=("any")
url="https://github.com/coolfool/aurishem"
license=('MIT')
depends=('python-pydbus' 'python-gobject')
makedepends=('git')
conflicts=('aurishem')
provides=('aurishem')
source=("git+https://github.com/coolfool/aurishem.git")
sha1sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -D "$srcdir/aurishem/source/aurishem.desktop" "$pkgdir/usr/share/applications/aurishem.desktop"
install -D "$srcdir/aurishem/source/aurishem.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/aurishem.png"
install -D "$srcdir/aurishem/source/aurishem" "$pkgdir/usr/bin/aurishem"
chmod +x "$pkgdir/usr/bin/aurishem"
xdg-mime default aurishem.desktop x-scheme-handler/aurishem
}