summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ5lx2015-07-03 16:46:09 +0200
committerJ5lx2015-07-03 16:46:09 +0200
commitd699f608b459354af7860a616474ff427a97b646 (patch)
tree917e46acca06f3f265d451a7574008c7b6569e89
downloadaur-d699f608b459354af7860a616474ff427a97b646.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD20
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..314495b2ad7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = sacjava
+ pkgdesc = Java implementation of the SAC CSS API
+ pkgver = 1.3
+ pkgrel = 1
+ url = http://www.w3.org/Style/CSS/SAC/
+ arch = any
+ license = custom:W3C
+ depends = java-runtime
+ source = http://www.w3.org/2002/06/sacjava-1.3.zip
+ md5sums = 91c083636dc1a926bcb5b0bd0bde9ea5
+
+pkgname = sacjava
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..164be03e95b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgname=sacjava
+pkgver=1.3
+pkgrel=1
+license=('custom:W3C')
+arch=('any')
+pkgdesc="Java implementation of the SAC CSS API"
+url="http://www.w3.org/Style/CSS/SAC/"
+depends=('java-runtime')
+source=("http://www.w3.org/2002/06/${pkgname}-${pkgver}.zip")
+md5sums=('91c083636dc1a926bcb5b0bd0bde9ea5')
+
+package() {
+ cd "${srcdir}/sac-${pkgver}"
+
+ install -Dm644 "COPYRIGHT.html" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT.html"
+ install -Dm644 "sac.jar" "${pkgdir}/usr/share/java/sac-${pkgver}.jar"
+ ln -s "sac-${pkgver}.jar" "${pkgdir}/usr/share/java/sac.jar"
+}