summaryrefslogtreecommitdiff
path: root/pcr/java-rsyntaxtextarea
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-02-11 04:51:03 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-02-11 04:51:03 -0500
commit04f97434d3c7012cb887fced3c3fbd747a4b78a5 (patch)
treed4081fcc50b0c513b8a21f7ec6b5fa3ad789b59f /pcr/java-rsyntaxtextarea
parented87c485db552e3f197eca71389eb2f5fbe5d8d2 (diff)
downloadabslibre-04f97434d3c7012cb887fced3c3fbd747a4b78a5.tar.gz
abslibre-04f97434d3c7012cb887fced3c3fbd747a4b78a5.tar.bz2
abslibre-04f97434d3c7012cb887fced3c3fbd747a4b78a5.zip
java-rsyntaxtextarea: minor fix
Diffstat (limited to 'pcr/java-rsyntaxtextarea')
-rw-r--r--pcr/java-rsyntaxtextarea/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/pcr/java-rsyntaxtextarea/PKGBUILD b/pcr/java-rsyntaxtextarea/PKGBUILD
index b0943640b..d4d6e88d7 100644
--- a/pcr/java-rsyntaxtextarea/PKGBUILD
+++ b/pcr/java-rsyntaxtextarea/PKGBUILD
@@ -11,14 +11,16 @@ license=('BSD')
depends=('java-runtime')
makedepends=('java-environment' 'jh')
source=("https://github.com/bobbylight/RSyntaxTextArea/archive/$pkgver.tar.gz"
+ "https://repo1.maven.org/maven2/com/fifesoft/${_pkgname}/$pkgver/${_pkgname}-$pkgver.pom"
'rsyntaxtextarea-arduino.patch')
sha256sums=('df6430cf15bfcb7612b52d4c3b961c8b7bf0b848c7c251e6d405d2598484b698'
+ '9c46b7d7e068dab2fbf149e763f2465007e9e70b90b73a6a33b0fc8edcbd1315'
'24b3f8e9e1643c3e55f8503362d9ba164be7cab31fed9734f48159bcf0edfcec')
prepare() {
cd "$srcdir/RSyntaxTextArea-$pkgver"
mkdir -p build/classes
- cp -r src/main/resources/org build/classes
+ cp -rv src/main/resources/org build/classes
patch -Np1 -i "$srcdir/rsyntaxtextarea-arduino.patch"
}
@@ -43,7 +45,8 @@ package() {
# Install Maven artifacts
export DESTDIR=$pkgdir
jh mvn-install com.fifesoft ${_pkgname} $pkgver \
- pom.xml "${_pkgname}.jar" "${_pkgname}-$pkgver.jar"
+ $srcdir/${_pkgname}-$pkgver.pom \
+ "${_pkgname}.jar" "${_pkgname}-$pkgver.jar"
ln -s "/usr/share/java/${_pkgname}-$pkgver.jar" \
"$pkgdir/usr/share/java/${_pkgname}.jar"