summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlisoftware2016-12-10 14:00:57 +0700
committerAlisoftware2016-12-10 14:00:57 +0700
commit87d94c3bcf08a9a4529da00e6197327e20227569 (patch)
treed65127613a50f4f50e2a115d90b876eb544ab7c7
parent15774dd26e896ed4288b6e8d875294a9e39ceefa (diff)
downloadaur-87d94c3bcf08a9a4529da00e6197327e20227569.tar.gz
add jsignpdf
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD25
2 files changed, 15 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 80427aac021..ec631ebac0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
-pkgbase = jsignpdf-bin
+pkgbase = jsignpdf
pkgdesc = Digital sign PDF files with X.509 certificates.
pkgver = 1.6.1
- pkgrel = 2
+ pkgrel = 0
url = http://jsignpdf.sourceforge.net/
arch = any
license = LGPL
@@ -17,5 +17,5 @@ pkgbase = jsignpdf-bin
md5sums = SKIP
md5sums = SKIP
-pkgname = jsignpdf-bin
+pkgname = jsignpdf
diff --git a/PKGBUILD b/PKGBUILD
index 8297d948035..23a094e67f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer : alisoftware <admin@situsali.com>
-_pkgname=jsignpdf
-pkgname=${_pkgname}-bin
+pkgname=jsignpdf
pkgver=1.6.1
-pkgrel=2
+pkgrel=0
pkgdesc="Digital sign PDF files with X.509 certificates."
arch=('any')
url="http://jsignpdf.sourceforge.net/"
@@ -22,7 +21,7 @@ md5sums=('SKIP'
package() {
mkdir -p ${pkgdir}/usr/share/java/jsignpdf/
- cd ${srcdir}/${_pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
cp -R * ${pkgdir}/usr/share/java/jsignpdf/
find ${pkgdir}/usr/share/java/jsignpdf/* -type f -exec chmod 644 {} \;
@@ -45,15 +44,15 @@ package() {
${pkgdir}/usr/share/applications/jsignpdf.desktop || return 1
# Docs and License
- mkdir -p ${pkgdir}/usr/share/docs/${_pkgname}
- mkdir -p ${pkgdir}/usr/share/license/${_pkgname}
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/ChangeLog.txt ${pkgdir}/usr/share/docs/${_pkgname}/
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/JSignPdf.pdf ${pkgdir}/usr/share/docs/${_pkgname}/
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/JSignPdf_signed.pdf ${pkgdir}/usr/share/docs/${_pkgname}/
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/ReleaseNotes.txt ${pkgdir}/usr/share/docs/${_pkgname}/
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/lgpl-2.1.txt ${pkgdir}/usr/share/license/${_pkgname}/
- cp ${pkgdir}/usr/share/java/jsignpdf/docs/MPL-1.1.txt ${pkgdir}/usr/share/license/${_pkgname}/
- cp -R ${pkgdir}/usr/share/java/jsignpdf/docs/ThirdPartyLicenses/ ${pkgdir}/usr/share/license/${_pkgname}/
+ mkdir -p ${pkgdir}/usr/share/docs/${pkgname}
+ mkdir -p ${pkgdir}/usr/share/license/${pkgname}
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/ChangeLog.txt ${pkgdir}/usr/share/docs/${pkgname}/
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/JSignPdf.pdf ${pkgdir}/usr/share/docs/${pkgname}/
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/JSignPdf_signed.pdf ${pkgdir}/usr/share/docs/${pkgname}/
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/ReleaseNotes.txt ${pkgdir}/usr/share/docs/${pkgname}/
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/lgpl-2.1.txt ${pkgdir}/usr/share/license/${pkgname}/
+ cp ${pkgdir}/usr/share/java/jsignpdf/docs/MPL-1.1.txt ${pkgdir}/usr/share/license/${pkgname}/
+ cp -R ${pkgdir}/usr/share/java/jsignpdf/docs/ThirdPartyLicenses/ ${pkgdir}/usr/share/license/${pkgname}/
# Removing unneeded files
rm -rf ${pkgdir}/usr/share/java/jsignpdf/docs/ || return 1