diff options
author | GI_Jack | 2021-09-05 18:42:53 -0400 |
---|---|---|
committer | GI_Jack | 2021-09-05 18:42:53 -0400 |
commit | b47c78fb1992f504137f7ff481de038769da25e3 (patch) | |
tree | 86e63667ac5eca2df712124caf62df8d36adf3c4 /PKGBUILD | |
parent | 9282ad82d5b112fb13bde59eea5b86e124d10349 (diff) | |
download | aur-pidgin-wechat.tar.gz |
updated for rust packaging guidelines. still doesn't compile.
someone else wants to fix this...
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,7 @@ -# Maintainer: GI_Jack <iamjacksemail@hackermail.com> +# Maintainer: GI_Jack <GI_Jack@hackermail.com> pkgname=pidgin-wechat pkgver=0.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="WeChat protocol plugin for pidgin/libpurple. Based on Web Wechat and supports basic message receiving and picture receiving." arch=('i686' 'x86_64') url="https://github.com/sbwtw/pidgin-wechat" @@ -11,9 +11,16 @@ makedepends=('rust' 'clang' 'libpurple') source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/sbwtw/pidgin-wechat/archive/${pkgver}.tar.gz") sha256sums=('d54ef61822b94ae9b67520adbee99a0648b763f63b9f948d361c1772a3355d9f') +prepare() { + cd "${pkgname}-${pkgver}" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + build() { cd "${pkgname}-${pkgver}" - cargo build --release + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --frozen --release --all-features } package() { |