summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikulėnas2022-09-22 07:57:08 +0300
committerMantas Mikulėnas2022-09-22 07:57:08 +0300
commit84b00eaf110c55c0be70b04235d93386ecf78974 (patch)
treed6a69fbe490f40a807f4a9d82c5a6023b618fb92
parent3ca8a518234699b6eed44e77fd5338b527bf9e48 (diff)
downloadaur-84b00eaf110c55c0be70b04235d93386ecf78974.tar.gz
move from /opt to /usr/lib
Seems like this is how most Java software is packaged (looking at openfire and dbeaver).
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rwxr-xr-xlbe.sh2
3 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 44d3f0661a14..da84ec330e99 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lbe
pkgdesc = Jarek Gawor's LDAP Browser/Editor (last freeware version)
pkgver = 2.8.2
- pkgrel = 5
+ pkgrel = 6
url = http://web.archive.org/web/20090201080715/http://mcs.anl.gov/~gawor/ldap/
arch = any
license = custom
@@ -12,6 +12,6 @@ pkgbase = lbe
source = lbe.sh
sha256sums = 6c1a1b80b81d83f005d4a006bc070b1b8f44f90151f7af6b14004c96e26687ec
sha256sums = ccdc18f2879c6ab10aa0f3ad087a3aa225a6146340be7e2fb46302b961255972
- sha256sums = 7bae189089e99ab328a77d545df2d253621d4577b5933e1899d357fbb3a7def4
+ sha256sums = a7a2010364196bae2fcd0db00e374a289ea9b0eee4d64f5dac9f88520aacd967
pkgname = lbe
diff --git a/PKGBUILD b/PKGBUILD
index 7d646caf51e6..500d8291bb43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='lbe'
pkgver=2.8.2
-pkgrel=5
+pkgrel=6
pkgdesc="Jarek Gawor's LDAP Browser/Editor (last freeware version)"
arch=('any')
#url="http://www.openchannelsoftware.com/projects/LDAP_Browser_Editor"
@@ -15,7 +15,7 @@ source=("https://nullroute.lt/mirrors/files/ldapbrowser-$pkgver.zip"
noextract=("ldapbrowser-$pkgver.zip")
sha256sums=('6c1a1b80b81d83f005d4a006bc070b1b8f44f90151f7af6b14004c96e26687ec'
'ccdc18f2879c6ab10aa0f3ad087a3aa225a6146340be7e2fb46302b961255972'
- '7bae189089e99ab328a77d545df2d253621d4577b5933e1899d357fbb3a7def4')
+ 'a7a2010364196bae2fcd0db00e374a289ea9b0eee4d64f5dac9f88520aacd967')
prepare() {
# Extract the archive manually into a subfolder
@@ -24,15 +24,15 @@ prepare() {
}
package() {
- mkdir -p "$pkgdir/opt"
- cp -a "$srcdir/ldapbrowser-$pkgver" "$pkgdir/opt/lbe"
+ mkdir -p "$pkgdir/usr/lib"
+ cp -a "$srcdir/ldapbrowser-$pkgver" "$pkgdir/usr/lib/lbe"
{
echo
echo "# added by packager"
echo "krbextradata=binary"
echo "krbprincipalkey=binary"
- } >> "$pkgdir/opt/lbe/attributes.config"
+ } >> "$pkgdir/usr/lib/lbe/attributes.config"
install -Dm755 "$srcdir/lbe.desktop" "$pkgdir/usr/share/applications/lbe.desktop"
install -Dm755 "$srcdir/lbe.sh" "$pkgdir/usr/bin/lbe"
diff --git a/lbe.sh b/lbe.sh
index ba32173f9188..d7c0abc3f271 100755
--- a/lbe.sh
+++ b/lbe.sh
@@ -2,7 +2,7 @@
: ${XDG_CONFIG_HOME:=~/.config}
-appdir="/opt/lbe"
+appdir="/usr/lib/lbe"
if [ -d "$HOME/.lbe" ]; then
confdir="$HOME/.lbe"