makedeb
An open source desktop YouTube player built with privacy in mind.
Click here to go back to the commit logs for freetube-bin.
Hash: 39c8c1957e535eae1edc72429edfe200fd7e1c68
Message: Simplify installation process
* Due to this, please manually uninstall, then reinstall, to get
working again
* Increment pkgrel number
diff --git a/.SRCINFO b/.SRCINFO
index 9747363..1ef8491 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,21 @@
pkgbase = freetube-bin
pkgdesc = An open source desktop YouTube player built with privacy in mind.
pkgver = 0.22.0
- pkgrel = 1
- url = https://github.com/FreeTubeApp/FreeTube
+ pkgrel = 2
+ url = https://freetubeapp.io/
arch = amd64
arch = arm64
arch = arm7l
license = AGPL-3.0-or-later
provides = freetube
+ conflicts = freetube
+ conflicts = freetube-deb
+ noextract = freetube-bin_0.22.0-2_amd64.deb
options = !strip
options = staticlibs
- source_amd64 = freetube_0.22.0-1_amd64.deb::https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube_0.22.0_amd64.deb
+ source_amd64 = freetube_0.22.0-2_amd64.deb::https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube_0.22.0_amd64.deb
b2sums_amd64 = 2aad09f3df5adbde93e83736c9886313b4c86611e5804399a6a2f634633933d129d2ab0450685d28792d992ac362c213182e0f2ac60e52b7a443a143181fdbfc
- source_arm64 = freetube_0.22.0-1_arm64.deb::https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube_0.22.0_arm64.deb
+ source_arm64 = freetube_0.22.0-2_arm64.deb::https://github.com/FreeTubeApp/FreeTube/releases/download/v0.22.0-beta/freetube_0.22.0_arm64.deb
b2sums_arm64 = 7d1bbd5b516fe17c5961de13469a0b697c031f30a333289644eb6ffd3b2bd0f3ea6b2e3cca4f60254f3a1d2c91f04e5a1d60984c0afd21f56e67f384590c9f7e
pkgname = freetube-bin
diff --git a/PKGBUILD b/PKGBUILD
index a170cb8..38ddeed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,28 +4,25 @@
_pkgname="freetube"
pkgname='freetube-bin'
pkgver='0.22.0'
-pkgrel='1'
+pkgrel='2'
pkgdesc="An open source desktop YouTube player built with privacy in mind."
arch=('amd64' 'arm64' 'arm7l')
-url="https://github.com/FreeTubeApp/FreeTube"
+url="https://freetubeapp.io/"
+_url="https://github.com/FreeTubeApp/FreeTube"
license=('AGPL-3.0-or-later')
options=("!strip" "staticlibs")
provides=("freetube")
-source_amd64=("${_pkgname}_${pkgver}-${pkgrel}_amd64.deb"::"${url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_amd64.deb")
-source_arm64=("${_pkgname}_${pkgver}-${pkgrel}_arm64.deb"::"${url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_arm64.deb")
-source_armv7l=("${_pkgname}_${pkgver}-${pkgrel}_armv7l.deb"::"${url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_armv7l.deb")
+source_amd64=("${_pkgname}_${pkgver}-${pkgrel}_amd64.deb"::"${_url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_amd64.deb")
+source_arm64=("${_pkgname}_${pkgver}-${pkgrel}_arm64.deb"::"${_url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_arm64.deb")
+source_armv7l=("${_pkgname}_${pkgver}-${pkgrel}_armv7l.deb"::"${_url}/releases/download/v${pkgver}-beta/${_pkgname}_${pkgver}_armv7l.deb")
b2sums_amd64=('2aad09f3df5adbde93e83736c9886313b4c86611e5804399a6a2f634633933d129d2ab0450685d28792d992ac362c213182e0f2ac60e52b7a443a143181fdbfc')
b2sums_arm64=('7d1bbd5b516fe17c5961de13469a0b697c031f30a333289644eb6ffd3b2bd0f3ea6b2e3cca4f60254f3a1d2c91f04e5a1d60984c0afd21f56e67f384590c9f7e')
b2sums_armv7l=('a0fa35549f420fb1603bd996de12a0e680bd7323a0abb3a05fa4efa2862d188ef595af4bb57f86ef79d60820581fc19cbcb62082541e5110ed1435258ef92dba')
-
-prepare() {
- mkdir data
- bsdtar -x -f data.tar.xz -C data
-}
+noextract=("${pkgname}_${pkgver}-${pkgrel}_${arch}.deb")
+conflicts=("freetube" "freetube-deb")
package() {
- install -d "${pkgdir}/usr/bin"
- cp -a ${srcdir}/data/* ${pkgdir}/
- ln -s "/opt/FreeTube/FreeTube" "${pkgdir}/usr/bin/FreeTube"
+exec true
}
+