summaryrefslogtreecommitdiff
path: root/pcr/java-cup
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-09 23:39:38 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-09 23:39:38 +0100
commit6f65b5f6301043b49ce87c8b20727289b8efe89d (patch)
treedf214704664c77f80a5f176276e20e055948853f /pcr/java-cup
parent02c13a9e0d3a8c79066f114a0379a63a96207cd1 (diff)
downloadabslibre-6f65b5f6301043b49ce87c8b20727289b8efe89d.tar.gz
abslibre-6f65b5f6301043b49ce87c8b20727289b8efe89d.tar.bz2
abslibre-6f65b5f6301043b49ce87c8b20727289b8efe89d.zip
pcr/java-{asm2,asm3,bnd,cup,ow-util-ant-tasks}: unloved. removed
Diffstat (limited to 'pcr/java-cup')
-rw-r--r--pcr/java-cup/PKGBUILD41
-rw-r--r--pcr/java-cup/java-cup.sh2
2 files changed, 0 insertions, 43 deletions
diff --git a/pcr/java-cup/PKGBUILD b/pcr/java-cup/PKGBUILD
deleted file mode 100644
index 97b41e20b..000000000
--- a/pcr/java-cup/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=java-cup
-_pkgver=0.10k
-pkgver=0.10.k
-pkgdesc="LALR parser generator for Java"
-url=http://www2.cs.tum.edu/projects/cup/
-license=('custom:MIT')
-
-pkgrel=1
-arch=('any')
-depends=('java-environment')
-
-source=(http://www2.cs.tum.edu/projects/cup/java_cup_v${_pkgver#*.}.tar.gz java-cup.sh)
-md5sums=('8b11edfec13c590ea443d0f0ae0da479'
- '2ec9859574d479ee27c71e8b7f978eea')
-
-prepare() {
- cd "$srcdir"
- find . -name '*.class' -delete
-}
-
-build() {
- cd "$srcdir"
- mkdir classes
- find java_cup -name '*.java' -exec javac -d classes {} +
- jar cfe java_cup.jar java_cup.Main -C classes .
-}
-
-package() {
- cd "$srcdir"
-
- install -Dm644 java_cup.jar "$pkgdir"/usr/share/java/java_cup-${_pkgver}.jar
- ln -s java_cup-${_pkgver}.jar "$pkgdir"/usr/share/java/java_cup.jar
-
- install -Dm755 java-cup.sh "$pkgdir"/usr/bin/java-cup
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- install -d "$pkgdir"/usr/share/doc/$pkgname
- install -m644 manual.html cup_logo.gif -t "$pkgdir"/usr/share/doc/$pkgname
-}
diff --git a/pcr/java-cup/java-cup.sh b/pcr/java-cup/java-cup.sh
deleted file mode 100644
index b7bf91d14..000000000
--- a/pcr/java-cup/java-cup.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -jar /usr/share/java/java_cup.jar "$@"