summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d48e70c8d2a23e2f1cb803588b3334023b0a0702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: xpt <user.xpt@gmail.com>

_name=emoji
pkgname=python2-$_name
pkgver=0.5.1
pkgrel=1
pkgdesc="Emoji for Python"
url="https://github.com/carpedm20/emoji/"
depends=('python2' )
license=('New BSD')
arch=('any')
source=("https://files.pythonhosted.org/packages/41/5a/5b2cbaf1f8936e54a3756c4f0587cbe0615cd50c6b31340214ea61f92782/$_name-$pkgver.tar.gz")
sha256sums=('a9e9c08be9907c0042212c86dfbea0f61f78e9897d4df41a1d6307017763ad3e')

build() {
    cd $srcdir/emoji-$pkgver
    python2.7 setup.py build
}

package() {
    cd $srcdir/emoji-$pkgver
    python2.7 setup.py install --root="$pkgdir" --optimize=1 
}