summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyberxndr2017-03-13 16:07:52 +0300
committercyberxndr2017-03-13 16:07:52 +0300
commit841ce2934e5befe6c44067692264e961cfa74891 (patch)
tree1c33ede4422120f2dc23b396fd54754f4f743705
parent4bff4c2ee2ca603d4e4c1eb37ad9b6d8e244fc89 (diff)
downloadaur-841ce2934e5befe6c44067692264e961cfa74891.tar.gz
replace package content with precompiled version
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD34
2 files changed, 15 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 434af957f0d..d2fbf7890e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,10 +5,8 @@ pkgbase = mytetra
url = https://github.com/xintrea/mytetra_dev
arch = x86_64
license = GPL3
- depends = qt5-base
- depends = qt5-svg
- source = https://github.com/xintrea/mytetra_dev/archive/v.1.42.2.tar.gz
- md5sums = b7cfdb281106b25b461d059a2a0607e2
+ source = http://webhamster.ru/db/data/articles/105/mytetra_1_42_2_lin_64.tar.gz
+ md5sums = 54e36bac3f2d06d2d1bf6fd77501bb63
pkgname = mytetra
diff --git a/PKGBUILD b/PKGBUILD
index 5c6fba19aca..b97b6a5e756 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,33 +7,25 @@ pkgdesc="Personal manager for data memorization and structuring notes"
arch=('x86_64')
url="https://github.com/xintrea/mytetra_dev"
license=('GPL3')
-depends=('qt5-base'
- 'qt5-svg')
-source=("https://github.com/xintrea/mytetra_dev/archive/v.1.42.2.tar.gz")
-md5sums=('b7cfdb281106b25b461d059a2a0607e2')
-
-build(){
- cd ${pkgname}_dev-v.${pkgver}
- qmake
- make
-}
+source=("http://webhamster.ru/db/data/articles/105/mytetra_1_42_2_lin_64.tar.gz")
+md5sums=('54e36bac3f2d06d2d1bf6fd77501bb63')
prepare(){
- cd ${pkgname}_dev-v.${pkgver}
+ cd mytetra_1_42_2_lin_64
- echo '#!/bin/sh' > bin/mytetra.run
- echo 'LD_LIBRARY_PATH=lib:${LD_LIBRARY_PATH:+":$LD_LIBRARY_PATH"}' >> bin/mytetra.run
- echo 'export LD_LIBRARY_PATH' >> bin/mytetra.run
- echo '/opt/mytetra/mytetra' >> bin/mytetra.run
+ echo '#!/bin/sh' > mytetra.run
+ echo 'PROGDIR="/opt/mytetra"' >> mytetra.run
+ echo 'LD_LIBRARY_PATH=$PROGDIR/lib:${LD_LIBRARY_PATH}' >> mytetra.run
+ echo 'export LD_LIBRARY_PATH' >> mytetra.run
+ echo '$PROGDIR/mytetra' >> mytetra.run
}
package(){
- cd ${pkgname}_dev-v.${pkgver}
+ cd mytetra_1_42_2_lin_64
- # install -D bin/mytetra "${pkgdir}/usr/bin/mytetra"
- install -D -m755 bin/mytetra "${pkgdir}/opt/mytetra/mytetra"
- install -D -m755 bin/mytetra.run "${pkgdir}/opt/mytetra/mytetra.run"
+ mkdir -p "${pkgdir}/opt/mytetra"
+ cp * "${pkgdir}/opt/mytetra/" -r
- mkdir -p "${pkgdir}/usr/bin/"
- ln -s /opt/mytetra/mytetra.run "${pkgdir}/usr/bin/mytetra"
+ mkdir -p "${pkgdir}/usr/bin/"
+ ln -s /opt/mytetra/mytetra.run "${pkgdir}/usr/bin/mytetra"
}