diff options
Diffstat (limited to 'openttd-git/PKGBUILD')
-rwxr-xr-x | openttd-git/PKGBUILD | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/openttd-git/PKGBUILD b/openttd-git/PKGBUILD index b853e40e..3df5d5f1 100755 --- a/openttd-git/PKGBUILD +++ b/openttd-git/PKGBUILD @@ -34,12 +34,10 @@ options=() source=( "${pkgname}::git://github.com/OpenTTD/OpenTTD.git" #commit=${_commit}" "everything.patch" - "version.patch" "clipboard.grf" ) sha512sums=('SKIP' '20231f23f0c0ec5df710b541b628b3a479299368975b0bd8c28d979b94c7dc376f55018f470d1559bfdc732a4de82793a82e79751fc7e3a10feb2b5eecfb7598' - '69ac38abc75d728ae3a4b131e819223f496f3e6554d2e8e35e6950c6ceb41a293af2aec6df2ef4b82a9e5d12ed87026e85e181adb0fc142407da94ad4d70d2b6' 'aa1f5d5c4fd9ff487bc03ed5c10701e99ae9fd29ae0cd65a06171486298558d1c26ced49ac8687acc5b1003a6538f6c83917992348cbd2b7426afdf0759cb1a5') pkgver() { @@ -56,24 +54,14 @@ prepare() { cd "${srcdir}/${pkgname}" - cat ${srcdir}/everything.patch | \ - ( - read zeile - while read zeile - do - [[ "${zeile}" == "diff --git a/"* ]] && break - done - echo "${zeile}" - cat - ) | \ - patch -p1 - - patch -p2 < $srcdir/version.patch + git apply < ${srcdir}/everything.patch + sed -i ' + s/readme\.txt/README.md/g + ' Makefile.bundle.in } build() { -return 5 cd "${srcdir}/${pkgname}" ./configure ${_targetHost} \ |