summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa52d1a042cd51c0f6965c9b6324e6bda2836308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>

pkgname=mdbook-epub
pkgver=0.3.0
pkgrel=1
pkgdesc="MDBook EPUB Backend"
url="https://github.com/Michael-F-Bryan/mdbook-epub"
arch=(x86_64)
license=(MIT)
makedepends=(rust cargo)
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('1dfa8a58e969d975d365d32dec4ebbfbb066e55c58c3f329d59f96c8bae121f4')

build() {
  cd mdbook-epub-$pkgver
  cargo build --release
}

package() {
  cd mdbook-epub-$pkgver
  install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}