diff options
author | DPDmancul | 2019-02-14 11:50:03 +0100 |
---|---|---|
committer | DPDmancul | 2019-02-14 11:50:03 +0100 |
commit | 04a795769a97904c4ed3afecbc4214677f08c9df (patch) | |
tree | 12cb5d103dba40bf0b21736ec416ea674a555d42 | |
download | aur-04a795769a97904c4ed3afecbc4214677f08c9df.tar.gz |
Create package
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | latex-apple-emoji-git.install | 6 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c0d41bb6d1ba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = latex-apple-emoji-git + pkgdesc = Style package for directly including color emojis in LaTeX documents with support of color modifiers + pkgver = r2.cf0ebeb + pkgrel = 1 + url = https://github.com/DPDmancul/Apple-Emoji + install = latex-apple-emoji-git.install + arch = any + license = GPL2 + makedepends = git + depends = texlive-core + provides = latex-apple-emoji + conflicts = latex-apple-emoji + source = git://github.com/DPDmancul/Apple-Emoji.git + md5sums = SKIP + +pkgname = latex-apple-emoji-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b4367c201294 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > + +pkgname=latex-apple-emoji-git +pkgver=r2.cf0ebeb +pkgrel=1 +pkgdesc="Style package for directly including color emojis in LaTeX documents with support of color modifiers" +arch=(any) +url="https://github.com/DPDmancul/Apple-Emoji" +license=('GPL2') +depends=('texlive-core') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +install="${pkgname}.install" +source=('git://github.com/DPDmancul/Apple-Emoji.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/Apple-Emoji + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir"/Apple-Emoji + mkdir -p $pkgdir/usr/share/texmf-dist/tex/latex/apple_emoji/emoji + + install -m644 emoji/* \ + "$pkgdir/usr/share/texmf-dist/tex/latex/apple_emoji/emoji/" + + install -m644 apple_emoji.sty \ + "$pkgdir/usr/share/texmf-dist/tex/latex/apple_emoji/" +} diff --git a/latex-apple-emoji-git.install b/latex-apple-emoji-git.install new file mode 100644 index 000000000000..840662286799 --- /dev/null +++ b/latex-apple-emoji-git.install @@ -0,0 +1,6 @@ +post_install() { + mktexlsr +} +post_remove() { + mktexlsr +}
\ No newline at end of file |