diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 4 deletions
@@ -1,10 +1,11 @@ pkgbase = iriunwebcam-bin pkgdesc = Use your phone's camera as a wireless webcam in your PC pkgver = 2.8.2 - pkgrel = 1 + pkgrel = 2 url = https://iriun.com/ arch = x86_64 license = LicenseRef-Iriun + options = !emptydirs source = iriunwebcam-2.8.2.deb::http://iriun.gitlab.io/iriunwebcam-2.8.2.deb source = LICENSE.iriun.txt sha256sums = 1df7c6ce15cf7690f4b616f22ae80a01ea639007aae2a9a5394c86acdf007a04 @@ -2,9 +2,10 @@ # Contributor: Barfin # Contributor: DanielH, agstrc -pkgname=iriunwebcam-bin +_pkgname="iriunwebcam" +pkgname="$_pkgname-bin" pkgver=2.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="Use your phone's camera as a wireless webcam in your PC" url="https://iriun.com/" license=('LicenseRef-Iriun') @@ -19,6 +20,8 @@ sha256sums=( 'eb2ba875d0b419ab7d6327a933d619d1b9eed51f89d49e55ed789bf8f37f75be' ) +options=('!emptydirs') + package() { depends+=( 'alsa-lib' @@ -29,7 +32,7 @@ package() { tar -xf "$srcdir/data.tar.xz" -C "$pkgdir" # move binary - install -Dm644 "$pkgdir/usr/local/bin/iriunwebcam" -t "$pkgdir/usr/bin/" + install -Dm755 "$pkgdir/usr/local/bin/iriunwebcam" -t "$pkgdir/usr/bin/" rm -rf "$pkgdir/usr/local" # fix desktop |