summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-09-04 14:31:35 +0200
committerfelics@felics-tablet2016-09-04 14:31:35 +0200
commit860bcf969a8122d16eab8ee33bf3362e1a6ba378 (patch)
tree44e77689637658ac6c1e9c0ed4f0ed2e80375afa
parent9a4afe3ae81a27c5eaecb493555a86a76f6e0583 (diff)
downloadaur-860bcf969a8122d16eab8ee33bf3362e1a6ba378.tar.gz
Made default ReadMe.txt a relative symlink.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 641e721808a..8eec47bb599 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = idos-timetable-browser-latest
pkgdesc = Offline railway and other public transport timetable search engine by CHAPS. (Czech language by default.)
pkgver = 1.27_lib2.8.0.1
- pkgrel = 5
+ pkgrel = 6
epoch = 0
url = http://chaps.cz/eng/download/idos/zip#kotvaprg
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 2f223b1cfc8..1890e48eb39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgname=idos-timetable-browser
pkgname="${_pkgname}-latest"
epoch=0
pkgver=1.27_lib2.8.0.1
-pkgrel=5
+pkgrel=6
pkgdesc="Offline railway and other public transport timetable search engine by CHAPS. (Czech language by default.)"
arch=('i686' 'x86_64')
url="http://chaps.cz/eng/download/idos/zip#kotvaprg"
@@ -90,10 +90,12 @@ package() {
ln -s "/usr/share/doc/${_pkgname}/README.datafiles.txt" "${_instdir}/README.datafiles.txt"
ln -s "/usr/share/doc/${_pkgname}/ReadMe.cz.txt" "${_instdir}/ReadMe.cz.txt"
ln -s "/usr/share/doc/${_pkgname}/ReadMe.en.txt" "${_instdir}/ReadMe.en.txt"
- ln -s "${_instdirbase}/ReadMe.en.txt" "${_instdir}/ReadMe.txt"
install -D -m644 "${srcdir}/license-dummy.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
install -D -m644 "${srcdir}/IDOS-Licence.pdf" "${pkgdir}/usr/share/licenses/${pkgname}/IDOS-Licence.pdf"
install -D -m755 "${srcdir}/idos-timetable-browser.sh" "${_execdir}/idos-timetable-browser"
+
+ cd ${_instdir}
+ ln -s ReadMe.en.txt ReadMe.txt
}