summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonian Guveli2018-01-25 10:53:11 +0200
committerJonian Guveli2018-01-25 10:53:11 +0200
commit75b9d6d5e63f4e98eaa209c27eab2ce772475e48 (patch)
tree172be1349a2b2c2ae45317ee6c83e54b267727f0
downloadaur-75b9d6d5e63f4e98eaa209c27eab2ce772475e48.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD17
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1bc3cff4747
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = php-tcpdf
+ pkgdesc = PHP library for generating PDF documents on-the-fly.
+ pkgver = 6.2.13
+ pkgrel = 1
+ url = https://tcpdf.org
+ arch = any
+ license = GPL
+ depends = php
+ provides = php-tcpdf
+ source = php-tcpdf.tar.gz::https://github.com/tecnickcom/TCPDF/archive/6.2.13.tar.gz
+ md5sums = 36b65a265b1a88a2d19bbbe489b5f374
+
+pkgname = php-tcpdf
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8c018b975ab
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: Jonian Guveli <https://github.com/jonian/>
+pkgname=php-tcpdf
+pkgver=6.2.13
+pkgrel=1
+pkgdesc="PHP library for generating PDF documents on-the-fly."
+arch=("any")
+url="https://tcpdf.org"
+license=("GPL")
+depends=("php")
+provides=("php-tcpdf")
+source=("$pkgname.tar.gz::https://github.com/tecnickcom/TCPDF/archive/"$pkgver".tar.gz")
+md5sums=("36b65a265b1a88a2d19bbbe489b5f374")
+
+package() {
+ mkdir -p "$pkgdir/opt"
+ cp -a "$srcdir/TCPDF-$pkgver" "$pkgdir/opt/$pkgname"
+}