summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe3319c59d03..3b9e9fb9571a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,8 +10,11 @@ pkgbase = sendxmpp-py
depends = python
provides = sendxmpp
conflicts = sendxmpp
- source = https://codeload.github.com/moparisthebest/sendxmpp-py/tar.gz/v1.0
+ source = https://github.com/moparisthebest/sendxmpp-py/archive/v1.0.tar.gz
+ source = https://github.com/moparisthebest/sendxmpp-py/releases/download/v1.0/v1.0.tar.gz.asc
+ validpgpkeys = 81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA
sha256sums = 50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2
+ sha256sums = SKIP
pkgname = sendxmpp-py
diff --git a/PKGBUILD b/PKGBUILD
index aa62d75f0188..3a95e4b281f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,9 +9,12 @@ license=('GPL3')
depends=('python-dnspython' 'python-sleekxmpp' 'python')
provides=('sendxmpp')
conflicts=('sendxmpp')
-url="https://github.com/moparisthebest/sendxmpp-py"
-source=("https://codeload.github.com/moparisthebest/sendxmpp-py/tar.gz/v$pkgver")
-sha256sums=('50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2')
+author='moparisthebest'
+url="https://github.com/$author/$pkgname"
+source=("https://github.com/$author/$pkgname/archive/v$pkgver.tar.gz" "https://github.com/$author/$pkgname/releases/download/v$pkgver/v$pkgver.tar.gz.asc")
+validpgpkeys=('81F1C22DD41109D4A9C0A7B5B070F8D97D1A0BBA') # moparisthebest <admin AT moparisthebest.com>
+sha256sums=('50fa7fdb38291aa2d49e330f4fb627ae1bb671572fbc1682b8b82593d34c45e2'
+ 'SKIP')
package() {
cd "sendxmpp-py-$pkgver"