fix: normalize package permissions; fill pkgver; pkgrel 2
This commit is contained in:
1 parent
bd8173c524
commit
410b3c4b3a
1 file changed
+5
-4
@@ -1,6 +1,7 @@
|
|||||||
|
# Maintainer: pascalyazid <your-email@example.com>
|
||||||
pkgname=aiostreams-desktop-bin
|
pkgname=aiostreams-desktop-bin
|
||||||
pkgver=0.0.0
|
pkgver=0.18.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The AIOStreams app in a native window, playing through mpv"
|
pkgdesc="The AIOStreams app in a native window, playing through mpv"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/Viren070/AIOStreams"
|
url="https://github.com/Viren070/AIOStreams"
|
||||||
@@ -18,7 +19,6 @@ prepare() {
|
|||||||
package() {
|
package() {
|
||||||
install -d "$pkgdir/opt/$pkgname"
|
install -d "$pkgdir/opt/$pkgname"
|
||||||
cp -r "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
|
cp -r "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
|
||||||
chmod -R a+rX,go-w "$pkgdir/opt/$pkgname"
|
|
||||||
|
|
||||||
install -d "$pkgdir/usr/bin"
|
install -d "$pkgdir/usr/bin"
|
||||||
ln -s "/opt/$pkgname/AppRun" "$pkgdir/usr/bin/aiostreams-desktop"
|
ln -s "/opt/$pkgname/AppRun" "$pkgdir/usr/bin/aiostreams-desktop"
|
||||||
@@ -28,5 +28,6 @@ package() {
|
|||||||
-t "$pkgdir/usr/share/applications"
|
-t "$pkgdir/usr/share/applications"
|
||||||
install -d "$pkgdir/usr/share/icons"
|
install -d "$pkgdir/usr/share/icons"
|
||||||
cp -r "$share/icons/hicolor" "$pkgdir/usr/share/icons/"
|
cp -r "$share/icons/hicolor" "$pkgdir/usr/share/icons/"
|
||||||
}
|
|
||||||
|
|
||||||
|
chmod -R a+rX,go-w "$pkgdir"
|
||||||
|
}
|
||||||
Reference in new issue
Block a user