makedeb
A window switcher, run dialog and dmenu replacement
Click here to go back to the commit logs for rofi.
Hash: f32c3560fa76d6910bfd323064e0c0c24d02937c
Message: added replace function
diff --git a/.SRCINFO b/.SRCINFO
index cde7d29..4158d6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -48,6 +48,7 @@ pkgbase = rofi
depends = libgif-dev
provides = rofi
conflicts = rofi
+ replaces = rofi
source = https://github.com/DaveDavenport/rofi/releases/download/1.6.1/rofi-1.6.1.tar.xz
sha256sums = 424c6ea7b14b3dac324ab065e59c5f3fb877befb46914a0498e8bd4017fae98a
diff --git a/PKGBUILD b/PKGBUILD
index b09fbdd..d30b80d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,9 @@ license=('MIT')
depends=('freetype2-demos' 'libjpeg-dev' 'librsvg2-dev' 'libx11-dev' 'libxcb1-dev' 'libxdg-basedir-dev' 'libxft-dev' 'libxkbcommon-dev' 'libxkbcommon-x11-dev' 'libpango1.0-dev' 'libstartup-notification0-dev' 'libglib2.0-dev' 'libcairo-dev' 'libpango1.0-dev' 'libxkbcommon-dev' 'libgdk-pixbuf2.0-dev' 'libxcb-util0-dev' 'libxcb-xkb-dev' 'libxkbcommon-x11-dev' 'libxcb-ewmh-dev' 'libxcb-icccm4-dev' 'libxcb-cursor-dev' 'libstartup-notification0-dev' 'libxcb-xrm-dev' 'libxcb-randr0-dev' 'libxcb-randr0-dev' 'libxcb-xinerama0-dev' 'libgif-dev')
makedepends=('git' 'meson' 'flex' 'bison' 'ninja-build' 'ronn' 'doxygen' 'uncrustify' 'cppcheck' 'ohcount')
checkdepends=('check')
-provides=("${pkgname/-git}")
-conflicts=("${pkgname/-git}")
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+replaces=("${pkgname}")
source=("$url/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('424c6ea7b14b3dac324ab065e59c5f3fb877befb46914a0498e8bd4017fae98a')