diff options
author | George Rawlinson | 2021-05-30 20:24:03 +0000 |
---|---|---|
committer | George Rawlinson | 2021-05-30 20:24:03 +0000 |
commit | 40f3c3ad91000dfe75c10f9c5a7706fcb13eea69 (patch) | |
tree | e8be77287088bc926b92b061349133c7f94d0238 | |
parent | ae761c933095a6add42ed06e8308085b53a1f378 (diff) | |
download | aur-40f3c3ad91000dfe75c10f9c5a7706fcb13eea69.tar.gz |
upgpkg: anki-release-source
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 9 insertions, 13 deletions
@@ -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 @@ -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" |