blob: 928df73687601d0bd5f63813c93cef58f32d1fd4 (
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
|
# Maintainer: Dringsim <dringsim@qq.com>
pkgname=python-emotlib
_name=${pkgname#python-}
pkgver=1.0.1
pkgrel=1
pkgdesc="Python emoji + emoticon Library"
arch=('any')
url="https://github.com/steven5538/emotlib"
license=('MIT')
makedepends=('python-setuptools')
depends=('python')
source=("https://github.com/steven5538/emotlib/archive/refs/tags/v1.0.1.zip")
sha256sums=('BDC49A32D2F2FBD29BCBAC46A0FF1F2B7501A7F53AC2339F520A4612BF3CD4BD')
build() {
cd "$_name-$pkgver"
python setup.py build
}
package() {
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|