diff options
-rw-r--r-- | pcr/java-rsyntaxtextarea/PKGBUILD | 7 |
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" |