summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRobert Kubosz2017-01-05 19:23:53 +0100
committerRobert Kubosz2017-01-05 19:24:59 +0100
commit2d02d0a6031eb883942144a649b8b118dbacf3c8 (patch)
tree149f43e4ef4498876cc7c29caca7ca6b129b0cb0 /PKGBUILD
downloadaur-2d02d0a6031eb883942144a649b8b118dbacf3c8.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5e7a21e0335d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Robert Kubosz <kubosz.robert@gmail.com>
+
+pkgname=dyplompwr
+pkgver=1
+pkgrel=1.0
+_pkgrel=v1.0
+pkgdesc='Latex package with thesis template for students of Wrocław University of Technology'
+arch=('any')
+depends=('texlive-core' 'urw-garamond' 'urw-classico')
+license=('MIT')
+url='https://github.com/rkubosz/dyplompwr'
+source=("https://github.com/rkubosz/dyplompwr/releases/download/$_pkgrel/dyplompwr.zip"
+ 'license')
+md5sums=('be7a7957f5680cb44db2b0cb3f132a1d'
+ '532f9a8276206a404a50e40544238013')
+
+package() {
+ cd "$srcdir"
+ texpath=usr/share/texmf/tex/latex
+ mkdir -p "$pkgdir/$texpath/$pkgname"
+ cp -R "$pkgname" "$pkgdir/$texpath"
+ install -Dm644 license "$pkgdir/usr/share/licenses/$pkgname/license"
+}