blob: 38a3a54b576f0be55b775e3d331cb37faa3b30f1 (
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
|
# Maintainer: ccat3z <c0ldcat3z@gmail.com>
pkgname=emojify-git
pkgver=2.1.0.r11.gb6e95a0
pkgrel=1
pkgdesc='Emoji on the command line.'
arch=('any')
url='https://github.com/mrowa44/emojify'
depends=('bash')
provides=('emojify')
conflicts=('emojify')
license=('MIT')
source=("${pkgname%-git}::git+https://github.com/mrowa44/emojify.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
install -Dm755 "${srcdir}/${pkgname%-git}/emojify" "${pkgdir}/usr/bin/emojify"
install -Dm644 "${srcdir}/${pkgname%-git}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|