blob: 14da4c3b6b7791987278920f36555809e10a4019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: pro_shunsuke <shunsuke0901@gmail.com>
pkgname=colmsg
pkgver=2.0.4
pkgrel=1
pkgdesc='A CLI tool for 櫻坂46メッセージ and 日向坂46メッセージ app.'
arch=(x86_64)
url='https://github.com/proshunsuke/colmsg'
license=(MIT)
makedepends=(clang cmake git rust)
depends=('gcc-libs' 'openssl')
source=("git+$url#commit=b30a2b2b9c55a67aec739310634cfc9c71379082") # tag: v2.0.4
sha256sums=('SKIP')
build() {
cd $pkgname
cargo build --release
}
package() {
cd $pkgname
# Package the executable
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
# Package the license files
install -Dm644 LICENSE.txt \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|