summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob2017-01-20 23:30:15 +0100
committerJakob2017-01-20 23:30:15 +0100
commitcb03820a43ca85ecac4abcdaae9123484da648ca (patch)
tree23d077351db2cb16528074afb99d614843755bfa
downloadaur-cb03820a43ca85ecac4abcdaae9123484da648ca.tar.gz
Add initial build files.
-rw-r--r--.SRCINFO16
-rw-r--r--LICENSE1
-rw-r--r--PKGBUILD24
-rw-r--r--texlive-coffee-stains.install14
4 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca7e15b48a5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = texlive-coffee-stains
+ pkgdesc = A LaTeX package for drawing coffee stains using pgf/tikz
+ pkgver = 4.0
+ pkgrel = 1
+ url = http://hanno-rein.de/archives/349
+ install = texlive-coffee-stains.install
+ arch = any
+ license = Custom FOSS
+ depends = texlive-core
+ source = http://hanno-rein.de/downloads/coffee4.tar.gz
+ source = LICENSE
+ md5sums = 419e2a2f352da52733c0cbfb03534e40
+ md5sums = 1c0d717000b8d526c5e3f6abed1e6012
+
+pkgname = texlive-coffee-stains
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..73d0262a75e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+You can freely distribute this package as I do not believe in imaginary property. All stains are self-made, photographed by myself, processed with gimp and traced with Inkscape.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5437b508abf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Original author: Nicolas Kielbasiewicz (nicolas.kielbasiewicz@ensta-paristech.fr)
+# Maintainer: Jakob Jungreithmeir <https://aur.archlinux.org/account/Acrypter>
+# Last edited: 17th January 2017
+
+pkgname=texlive-coffee-stains
+pkgver=4.0
+pkgrel=1
+_reldate=2012-05-25
+license=('Custom FOSS')
+depends=('texlive-core')
+pkgdesc="A LaTeX package for drawing coffee stains using pgf/tikz"
+url="http://hanno-rein.de/archives/349"
+arch=('any')
+install="${pkgname}".install
+_source_file_name=coffee4
+source=(http://hanno-rein.de/downloads/${_source_file_name}.tar.gz
+ LICENSE)
+md5sums=('419e2a2f352da52733c0cbfb03534e40' '1c0d717000b8d526c5e3f6abed1e6012')
+
+package() {
+ install -Dm644 "$srcdir/${_source_file_name}.sty" "$pkgdir/usr/share/texmf-dist/tex/latex/${_source_file_name}/${_source_file_name}.sty"
+ mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
+ cp LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
+}
diff --git a/texlive-coffee-stains.install b/texlive-coffee-stains.install
new file mode 100644
index 00000000000..d926e3ebd64
--- /dev/null
+++ b/texlive-coffee-stains.install
@@ -0,0 +1,14 @@
+post_install() {
+ post_remove
+ echo "The file was installed in:"
+ kpsewhich coffee4.sty
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo "Upgrading package database..."
+ mktexlsr
+}