diff options
author | AtifChy | 2021-08-17 22:36:57 +0600 |
---|---|---|
committer | AtifChy | 2021-08-17 22:36:57 +0600 |
commit | 60cdb6eaddc0b62716287f7e92802f15abee9e37 (patch) | |
tree | 49be3754021b441330ab183390c3eb5b777a0b0e /PKGBUILD | |
parent | f4180367bfcdad1d96696a9a4ba0ec8f3d6d93fb (diff) | |
download | aur-60cdb6eaddc0b62716287f7e92802f15abee9e37.tar.gz |
removed the patch file. it's not needed anymore.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -1,29 +1,21 @@ # Maintainer: Atif Chowdhury <iftakhar.awal@gmail.com> pkgname=xcolor-git -pkgver=0.5.0.100.g0e99e67 -pkgrel=2 +pkgver=0.5.0.101.gf23338a +pkgrel=1 pkgdesc="Lightweight color picker for X11" arch=(x86_64) url="https://github.com/Soft/xcolor" license=(MIT) depends=("libxcb") makedepends=("rust" "cargo" "python") -source=("$pkgname::git+https://github.com/Soft/xcolor.git" "cargo_fix.patch") -sha256sums=('SKIP' '58575b5e08ded6af6331f9fd1e22023b7479905f9a7781d99507d33559ee25c9') +source=("$pkgname::git+https://github.com/Soft/xcolor.git") +sha256sums=('SKIP') pkgver() { cd "$pkgname" echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } -prepare() { - cd "$pkgname" - _commit=$(git rev-parse HEAD | cut -c1-7) - if [ "${_commit}" = "0e99e67" ]; then - patch -p1 < $startdir/cargo_fix.patch - fi -} - build() { cd "$pkgname" cargo build --release |