summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 65fbc58b772f7b8921793e0b72915401eab5f436 (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
32
pkgname=unicodemoticon
pkgver=2.1.1
pkgrel=4
pkgdesc="Like a Color Picker but for Unicode Emoticons. Trayicon with Unicode Emoticons using Python3 Qt5."
url="https://github.com/juancarlospaco/unicodemoticon"
depends=('python' 'python-pyqt5')
optdepends=(
	'ttf-symbola: Font with emoji'
	'noto-fonts-emoji: Another font with emoji'
	'noto-fonts: Fonts designed to cover a wide unicode range'
	'ttf-freefont: Another font covering a wide unicode range'
	'ttf-ancient-fonts: Contains ttf-symbola and yet more fonts covering a wide unicode range'
)
makedepends=('python-distribute')
license=('GPL')
arch=('any')
source=("https://github.com/juancarlospaco/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('625d87e9d73fa1a72b3b029d80f56a63e72b4d56f7bdfebf02ed05f1aa0fef52')


build() {
    cd "$srcdir/$pkgname-$pkgver"
    python setup.py build
}


package() {
    cd "$srcdir/$pkgname-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1

    install -Dm755 unicodemoticon/unicodemoticon.desktop "$pkgdir/usr/share/applications/unicodemoticon.desktop"
}