summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKuklin István2019-03-04 19:43:30 +0100
committerKuklin István2019-03-04 19:46:02 +0100
commitb11ec067244dd6e8f80cdd5dd7f71b1057cb7f30 (patch)
tree11cc13328f8fb868919196cd59a1ca84c0cd83a8 /PKGBUILD
parent452f5544c43a2417efc5a8a792e3cd493debcc22 (diff)
downloadpackages-b11ec067244dd6e8f80cdd5dd7f71b1057cb7f30.tar.gz
packages-b11ec067244dd6e8f80cdd5dd7f71b1057cb7f30.tar.bz2
packages-b11ec067244dd6e8f80cdd5dd7f71b1057cb7f30.zip
Link path fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b8be4c2..9d99d6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
6# Maintainer: Kuklin István <kuklinistvan@zoho.com> 6# Maintainer: Kuklin István <kuklinistvan@zoho.com>
7pkgname=anki-official-binary-bundle 7pkgname=anki-official-binary-bundle
8pkgver=2.1.9 8pkgver=2.1.9
9pkgrel=1 9pkgrel=2
10epoch= 10epoch=
11pkgdesc="The official binary shipped with the tested versions of the dependent libraries." 11pkgdesc="The official binary shipped with the tested versions of the dependent libraries."
12arch=('x86_64') 12arch=('x86_64')
@@ -25,14 +25,16 @@ options=()
25install= 25install=
26changelog= 26changelog=
27topdirname="anki-$pkgver-linux-amd64" 27topdirname="anki-$pkgver-linux-amd64"
28source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch") 28source=("https://apps.ankiweb.net/downloads/current/${topdirname}.tar.bz2" "remove_xdg_cmds_from_makefile.patch" "prefix-fix.patch")
29noextract=() 29noextract=()
30md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f') 30md5sums=('8cc5bb80efc5dac2e9dc9ee802924e24' 'a7e473f132a4fecd9cb77ac9c8530f5f'
31 '5968099e737668ad7134edfd8bc6f323')
31validpgpkeys=() 32validpgpkeys=()
32 33
33prepare() { 34prepare() {
34 cd "$srcdir" 35 cd "$srcdir"
35 patch -p0 -i remove_xdg_cmds_from_makefile.patch 36 patch -p0 -i remove_xdg_cmds_from_makefile.patch
37 patch -p0 -i prefix-fix.patch
36} 38}
37 39
38build() { 40build() {
@@ -40,12 +42,7 @@ build() {
40 make 42 make
41} 43}
42 44
43# check() {
44# cd "$topdirname"
45# make -k check
46# }
47
48package() { 45package() {
49 cd "$topdirname" 46 cd "$topdirname"
50 make PREFIX="$pkgdir/usr" install 47 make PREFIX="$pkgdir/usr/" install
51} 48}