summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSiHuan2020-06-26 11:12:36 +0800
committerSiHuan2020-06-26 11:12:36 +0800
commit5b7f72d4069b0430bbdfe1885c0462d851537a56 (patch)
treea0bbd4808237fb5d1b8055d260b8a7371b6bd6a4 /PKGBUILD
parentae570622b7a5792f2a273af31172bfb558467925 (diff)
downloadaur-5b7f72d4069b0430bbdfe1885c0462d851537a56.tar.gz
mv to opt
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e009a058327e..8ddb0281a3bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,14 +19,15 @@ prepare() {
package() {
- install -Dm755 "$srcdir/usr/local/thenewplayerfree/bin/thenewplayerfree" "$pkgdir/usr/lib/thenewplayerfree/thenewplayerfree"
+ install -Dm755 "$srcdir/usr/local/thenewplayerfree/bin/thenewplayerfree" "$pkgdir/opt/thenewplayerfree/bin/thenewplayerfree"
mkdir -p "$pkgdir/usr/bin"
- ln -s "$pkgdir/usr/lib/thenewplayerfree/thenewplayerfree" "$pkgdir/usr/bin/thenewplayerfree"
+ ln -s "$pkgdir/opt/thenewplayerfree/bin/thenewplayerfree" "$pkgdir/usr/bin/thenewplayerfree"
install -Dm644 "$srcdir/usr/local/thenewplayerfree/images/logo.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/thenewplayerfree.png"
- mkdir -p "$pkgdir/usr/lib/thenewplayerfree/languages/"
- install -Dm644 "$srcdir/usr/local/thenewplayerfree/languages/"* "$pkgdir/usr/lib/thenewplayerfree/languages/"
+ mkdir -p "$pkgdir/opt/thenewplayerfree/languages/"
+ install -Dm644 "$srcdir/usr/local/thenewplayerfree/languages/"* "$pkgdir/opt/thenewplayerfree/languages/"
+ ln -s "$pkgdir/opt/thenewplayerfree/languages/" "$pkgdir/opt/thenewplayerfree/bin/"
echo "[Desktop Entry]
Version=1.6.1