summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01fdaf39cf7c4930a1f519ed8c0ba8484b9c2db0 (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
# Maintainer:  Dimitris Kiziridis <ragouel at outlook dot com>
# Contributor: Joshua Li <josh@jrl.ninja>

pkgname=vape
pkgver=0.3.1
pkgrel=1
pkgdesc="A command-line tool that converts text into 'vaporwave' text - fullwidth UTF-8 characters."
arch=('x86_64')
url="https://github.com/JoshuaRLi/vape"
license=('MIT')
depends=('gcc-libs')
makedepends=('cargo')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('e10a7ead8b133c31736e9f983c63956e23ea6c8710eb38912855e72b3fc45990')

build () {
  cd "${pkgname}-${pkgver}"
  cargo build --release
}

package () {
  install -Dm755 "${pkgname}-${pkgver}/target/release/vape" "${pkgdir}/usr/bin/vape"
  install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 "${pkgname}-${pkgver}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}