diff options
author | yesuu | 2016-12-22 21:55:49 +0800 |
---|---|---|
committer | yesuu | 2016-12-22 21:55:49 +0800 |
commit | 9eb143b8810eea91ef6537474383ce862247f8e2 (patch) | |
tree | ef188a721aad8902594ccbd81ecb70f173d457db /PKGBUILD | |
parent | 7030a285a9806c363d81cbc70747018fdc3067dc (diff) | |
download | aur-9eb143b8810eea91ef6537474383ce862247f8e2.tar.gz |
add youdao-arch.patch
youdao-arch.patch from:
https://paste.xinu.at/a0GW/
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -24,11 +24,18 @@ depends=( 'qt5-webkit' ) install=youdao-dict.install +source=('youdao-arch.patch') source_i686=('http://codown.youdao.com/cidian/linux/youdao-dict_1.1.0-0~i386.tar.gz') source_x86_64=('http://codown.youdao.com/cidian/linux/youdao-dict_1.1.0-0~amd64.tar.gz') +sha256sums=('ab1e8cf2b38c459c60af5e47814a022ad485d2e2c0ae257ffae4c03174e703a6') sha256sums_i686=('d1ff404f1e465d6a196b566294ddfea1a1bfe4568226201b65d74236407152fc') sha256sums_x86_64=('5c3a5ed105238e2fad181704fd99815c4275bf546136f99e817614188794dc07') +prepare() { + cd "${srcdir}/src" + patch -Np2 -i "${srcdir}/youdao-arch.patch" +} + package() { cd "${srcdir}" mkdir -p "${pkgdir}/usr/bin" |