blob: c569301a7e4bab0686aaf0074e3c79ab3b8c52de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: GI_Jack <iamjacksemail@hackermail.com>
pkgname=pidgin-wechat
pkgver=0.1.1
pkgrel=1
pkgdesc="https://github.com/sbwtw/pidgin-wechat"
arch=('i686' 'x86_64')
url="https://github.com/sbwtw/pidgin-wechat"
license=('WTFPL')
depends=('libpurple')
makedepends=('rust' 'clang' 'libpurple')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/sbwtw/pidgin-wechat/archive/${pkgver}.tar.gz")
sha256sums=('d54ef61822b94ae9b67520adbee99a0648b763f63b9f948d361c1772a3355d9f')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 target/release/deps/libwechat.so ${pkgdir}/usr/lib/pidgin/libwechat.so
}
|