summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorprofessorkaos642017-01-18 20:40:42 -0500
committerprofessorkaos642017-01-18 20:40:42 -0500
commit25633a7e75fe98ebc3d0c072ffa11cfce6bd18d3 (patch)
treedbee5927e57bedeb9a276c26daaa1d973e9817d1
parentbc9cd0ccc6fd3eaca493746a1efc60e5132ddc18 (diff)
downloadaur-25633a7e75fe98ebc3d0c072ffa11cfce6bd18d3.tar.gz
update some comments
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f31bd9ecd3e..b1daacbb9f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = playonlinux5-git
pkgdesc = GUI for managing Windows programs under linux (development version based on Java)
- pkgver = r1491.09432248
- pkgrel = 4
+ pkgver = r1500.18b43a68
+ pkgrel = 1
epoch = 2
url = http://www.playonlinux.com/
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 492197b696a..ebed46d755a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,8 @@
_pkgname=playonlinux5
pkgname=${_pkgname}-git
-pkgver=r1491.09432248
-pkgrel=4
+pkgver=r1500.18b43a68
+pkgrel=1
epoch=2
pkgdesc="GUI for managing Windows programs under linux (development version based on Java)"
arch=('any')
@@ -33,22 +33,24 @@ sha256sums=(
)
pkgver() {
+
cd "${_pkgname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
+
}
build() {
+
cd "${_pkgname}"
# Set environment
- # Set JAVA_HOME to include Java 8 for users not defaulted to Java 8 yet
if (( $(archlinux-java get | cut -d "-" -f2) < 8 )) || [[ ! -f /usr/bin/javac ]]; then
# test for openjdk, fall back on other jdks if not found
- # Take the highest sorted version of either (head -1) so that versions above 8 will be selected
+ # Take the highest sorted version (alpahumericly,head -1)
_openjdk=$(ls /usr/lib/jvm/java-{8,9}-openjdk/bin/javac 2>/dev/null | cut -d "/" -f-5)
if [[ "${_openjdk}" ]]; then
@@ -63,11 +65,11 @@ build() {
# Build
mvn package
-
+
}
package() {
-
+
# Extract
install -d "${pkgdir}/opt/"
bsdtar -xf "${_pkgname}/phoenicis-dist/target/phoenicis-dist.zip"