summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rawlinson2021-05-30 20:24:03 +0000
committerGeorge Rawlinson2021-05-30 20:24:03 +0000
commit40f3c3ad91000dfe75c10f9c5a7706fcb13eea69 (patch)
treee8be77287088bc926b92b061349133c7f94d0238
parentae761c933095a6add42ed06e8308085b53a1f378 (diff)
downloadaur-40f3c3ad91000dfe75c10f9c5a7706fcb13eea69.tar.gz
upgpkg: anki-release-source
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
2 files changed, 9 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 708b866f601a..996b4d37dad8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = anki-release-source
pkgdesc = The latest release building from source locally
pkgver = 2.1.44
- pkgrel = 1
+ pkgrel = 2
url = https://apps.ankiweb.net/
- arch = any
+ arch = x86_64
license = AGPL3
makedepends = rsync
+ makedepends = git
makedepends = bazel
makedepends = clang
makedepends = maturin
@@ -40,7 +41,7 @@ pkgbase = anki-release-source
conflicts = anki-git
conflicts = anki-official-binary-bundle
source = anki-release-source-2.1.44.tar.gz::https://github.com/ankitects/anki/archive/refs/tags/2.1.44.tar.gz
- sha256sums = SKIP
+ sha256sums = c24c87aac042b3ac803ea22669091730a48b575ee9d9939672d46caf6d3287b5
pkgname = anki-release-source
diff --git a/PKGBUILD b/PKGBUILD
index d4ae48b77faf..6f432b3d9e30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,11 @@
pkgname=anki-release-source
pkgver=2.1.44
-pkgrel=1
+pkgrel=2
pkgdesc="The latest release building from source locally"
url="https://apps.ankiweb.net/"
license=('AGPL3')
-arch=('any')
+arch=('x86_64')
provides=('anki')
conflicts=('anki' 'anki20' 'anki-git' 'anki-official-binary-bundle')
depends=(
@@ -35,6 +35,7 @@ depends=(
)
makedepends=(
'rsync'
+ 'git'
'bazel'
'clang'
@@ -52,14 +53,8 @@ optdepends=(
'mpv: play sound. prefered over mplayer'
'mplayer: play sound'
)
-source=(
- "$pkgname-$pkgver.tar.gz::https://github.com/ankitects/anki/archive/refs/tags/${pkgver}.tar.gz"
-)
-sha256sums=('SKIP')
-
-prepare() {
- tar xf "$pkgname-$pkgver.tar.gz"
-}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ankitects/anki/archive/refs/tags/${pkgver}.tar.gz")
+sha256sums=('c24c87aac042b3ac803ea22669091730a48b575ee9d9939672d46caf6d3287b5')
build() {
cd "anki-$pkgver"