summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5348c20e9f20094e293a9a5a912851a5083102b2 (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
# Maintainer: Petr Šťastný <aur@soptik.tech>
pkgname=desed
pkgver=1.1.4
pkgrel=1
pkgdesc="Debugger for sed, written in rust. Step through code and observe sed inner state."
arch=('x86_64')
url="https://github.com/soptikha2/desed"
license=('GPL3')
depends=('gcc-libs')
makedepends=('cargo' 'git')
conflicts=('desed')
source=("$pkgname::git+https://github.com/soptikha2/desed.git")
sha256sums=('SKIP')

build() {
    cd "$pkgname"

    # Checkout to published version
    git checkout 'tags/v1.1.4'
    cargo build --release
}

package() {
    cd "$pkgname"

    install -D "target/release/desed" -t "$pkgdir/usr/bin"
}