summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRein F2020-04-08 18:17:06 +0200
committerRein F2020-04-08 18:17:06 +0200
commit16a3deb053e184717a2084a334d3199008c5886e (patch)
treeebdd17943585f03eeb8b535676595cc545ea969c /PKGBUILD
parent85d2c546808f5138052e12257d9ff51e68aa9367 (diff)
downloadaur-16a3deb053e184717a2084a334d3199008c5886e.tar.gz
new source
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 16 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 62a9fdd52be..d254e50cdd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=droidcam
pkgver=6.7.5
-pkgrel=3
+pkgrel=4
pkgdesc='A tool for using your android device as a wireless/usb webcam'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://www.dev47apps.com/$pkgname/linuxx"
license=('custom')
makedepends=( 'linux-headers' )
@@ -14,21 +14,20 @@ options=('!strip')
optdepends=('v4l-utils: Userspace tools and conversion library for Video 4 Linux'
'gtk2: use GUI version in addition to CLI interface' )
install="$pkgname.install"
-source=("$pkgname.desktop"
- "https://github.com/aramg/$pkgname/raw/master/linux/icon2.png")
-source_i686=("$pkgname.tar.bz2::https://www.dev47apps.com/files/linux/droidcam_081219_32bit.tar.bz2")
-source_x86_64=("$pkgname.tar.bz2::https://www.dev47apps.com/files/linux/droidcam_081219_64bit.tar.bz2")
-noextract=("$pkgname.tar.bz2")
-md5sums=('199d8f3dbc6697f06350b00de99f2274'
- '0f0e1d04146dd5be70d5028f144bd0a2')
-md5sums_i686=('661effc75e2772f20466e738027a16d4')
-md5sums_x86_64=('eb676cd06c92a722ab8b3c4c771baf94')
+source=(
+ "$pkgname.desktop"
+ "https://github.com/aramg/$pkgname/raw/master/linux/icon2.png"
+ "$pkgname.tar.bz2::https://www.dev47apps.com/files/linux/droidcam_latest.zip"
+)
+
+#noextract=("$pkgname.tar.bz2")
+md5sums=(
+ '199d8f3dbc6697f06350b00de99f2274'
+ '0f0e1d04146dd5be70d5028f144bd0a2'
+ '7775e36b5325dc1f32d485eb3cc72fd1'
+)
prepare() {
- # Extract source from within leading arcqh-specific folder
- tar --transform='s/-\(32\|64\)bit//' --show-transformed-names -xjf "$pkgname.tar.bz2"
- cd "$pkgname"
-
# Generate the module loading configuration files
cat <<EOF >| "v4l2loopback/$pkgname.modules-load.conf"
videodev
@@ -38,20 +37,18 @@ EOF
}
build() {
- cd "$pkgname/v4l2loopback"
+ cd "v4l2loopback"
make
gzip -f v4l2loopback-dc.ko
}
package() {
- cd "$pkgname"
-
# Install droidcam program files
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$pkgname-cli" "$pkgdir/usr/bin/$pkgname-cli"
install -Dm644 ../icon2.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "../$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Install kernel module and config files
cd v4l2loopback