diff options
author | Daniel Chesters | 2023-11-08 20:21:04 +0100 |
---|---|---|
committer | Daniel Chesters | 2023-11-08 20:21:04 +0100 |
commit | 935317bf08b46f66741b262dd5676d9aed2cdf30 (patch) | |
tree | e28ba3a9d706eb4fe4c30bae7c84b55d7e88e63e | |
parent | 35eca723e83c9b9a443cbf26cf9d76f5cfa201f1 (diff) | |
download | aur-935317bf08b46f66741b262dd5676d9aed2cdf30.tar.gz |
Fix add python as make dependencies
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore index 44f27c04b1e5..ddd398d2942f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pkg src *.tar.* +*.log @@ -2,24 +2,24 @@ pkgname=i3wsr pkgver=2.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A small program to change the name of an i3 workspace based on its contents." url="https://github.com/roosta/i3wsr" depends=('i3-wm') -makedepends=('cargo') +makedepends=('cargo' 'python') arch=('i686' 'x86_64') license=('MIT') source=("$pkgname-$pkgver.tar.gz::https://github.com/roosta/$pkgname/archive/v$pkgver.tar.gz") build() { - cd "$pkgname-$pkgver" - cargo build --release + cd "$pkgname-$pkgver" + cargo build --release } package() { - cd "$pkgname-$pkgver" - install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd "$pkgname-$pkgver" + install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim:set ts=2 sw=2 et: |