summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Fernyhough2020-11-01 01:50:33 +0000
committerJonathon Fernyhough2020-11-01 01:50:33 +0000
commit78916815c3aa8e1df3ef345840d7f823c449a261 (patch)
treec5a84fdb28d8a77b6c80a13d885e13dfd21cdf1f
parent3cb0843762e1c2441f2c2016c2fc82c637a65a64 (diff)
downloadaur-78916815c3aa8e1df3ef345840d7f823c449a261.tar.gz
Remove lingering -git elements
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85b0acacab39..39d74b288042 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hypnotix
pkgdesc = An IPTV app
pkgver = 1.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/linuxmint/hypnotix
arch = any
license = unknown
@@ -12,8 +12,8 @@ pkgbase = hypnotix
depends = python-setproctitle
depends = mpv
depends = xapp
- source = git+https://github.com/linuxmint/hypnotix.git#commit=5687e0e6db8069b02cbca8140f69aa8201999324
- b2sums = SKIP
+ source = https://github.com/linuxmint/hypnotix/archive/5687e0e6db8069b02cbca8140f69aa8201999324.tar.gz
+ b2sums = fb2e9a576ff57227f9877374d0ba3ad16935a0af06d9c750cbe6b5703a1455ccfac750578808ce418e16c2204c41323323ea811bf1cf09574e7622703419e19a
pkgname = hypnotix
diff --git a/PKGBUILD b/PKGBUILD
index 14cefbe3cbf8..858939217631 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,23 @@
pkgname=hypnotix
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="An IPTV app"
arch=(any)
url="https://github.com/linuxmint/hypnotix"
license=(unknown)
depends=(dconf hicolor-icon-theme lua51 python-requests python-setproctitle mpv xapp)
-source=("git+$url.git#commit=5687e0e6db8069b02cbca8140f69aa8201999324")
-b2sums=(SKIP)
+_commit=5687e0e6db8069b02cbca8140f69aa8201999324
+source=($url/archive/$_commit.tar.gz)
+b2sums=('fb2e9a576ff57227f9877374d0ba3ad16935a0af06d9c750cbe6b5703a1455ccfac750578808ce418e16c2204c41323323ea811bf1cf09574e7622703419e19a')
build() {
- cd ${pkgname/-git}
+ cd $pkgname-$_commit
make
}
package() {
- cd ${pkgname/-git}
+ cd $pkgname-$_commit
install -D -t "$pkgdir"/usr/bin usr/bin/hypnotix
install -D -t "$pkgdir"/usr/lib/hypnotix usr/lib/hypnotix/{common,hypnotix,mpv}.py
install -Dm644 -t "$pkgdir"/usr/share/applications usr/share/applications/hypnotix.desktop