summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 23d7e2d6762..285d4c6bf25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,18 +10,17 @@ depends=("python-psutil" "python-notify2" "sopcast")
optdepends=("vlc")
makedepends=("desktop-file-utils")
provides=("sopcast-launcher")
-source=("$pkgname-$pkgver::https://github.com/jonian/sopcast-launcher/archive/v$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
md5sums=("0eb32ee8d45d67bdd40e21c388733a86")
package() {
- mkdir -p "$pkgdir/opt"
- mkdir -p "$pkgdir/usr/bin"
- mkdir -p "$pkgdir/usr/share/applications"
+ install -d "$pkgdir/opt"
+ install -d "$pkgdir/usr/bin"
+ install -d "$pkgdir/usr/share/applications"
cp -a "$srcdir/$pkgname-$pkgver" "$pkgdir/opt/$pkgname"
+ ln -s "/opt/$pkgname/sopcast_launcher.py" "$pkgdir/usr/bin/sopcast-launcher"
+ mv -n "$pkgdir/opt/$pkgname/sopcast-launcher.desktop" "$pkgdir/usr/share/applications/sopcast-launcher.desktop"
update-desktop-database "$pkgdir/opt/$pkgname"
-
- ln -s "/opt/$pkgname/sopcast_launcher.py" "$pkgdir/usr/bin/sopcast-launcher"
- mv "$pkgdir/opt/$pkgname/sopcast-launcher.desktop" "$pkgdir/usr/share/applications/sopcast-launcher.desktop"
}