makedeb
Optimize PNGs and convert other lossless formats to PNG
Click here to go back to the commit logs for pngoptimizer.
Hash: 289c45747891ba6c18266e112e90a925d7c1e6b6
Message: Updated conflicts
diff --git a/.SRCINFO b/.SRCINFO
index 98fa2ac..e659c46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,14 @@ generated-by = makedeb-makepkg
pkgbase = pngoptimizer
pkgdesc = Optimize PNGs and convert other lossless formats to PNG
pkgver = 2.7
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/hadrien-psydk/pngoptimizer
arch = x86_64
license = GPL
makedepends = build-essential
makedepends = libgtk-3-dev
+ conflicts = pngoptimizer-git
+ conflicts = pngoptimizer-bin
source = git+https://github.com/hadrien-psydk/pngoptimizer.git#tag=v2.7
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 9abe42a..368a958 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: hiddeninthesand <hiddeninthesand at pm dot me>
pkgname="pngoptimizer"
+_gitname="pngoptimizer"
pkgver="2.7"
-pkgrel="5"
+pkgrel="6"
pkgdesc="Optimize PNGs and convert other lossless formats to PNG"
arch=('x86_64')
url="https://github.com/hadrien-psydk/pngoptimizer"
@@ -11,13 +12,14 @@ makedepends=('build-essential' 'libgtk-3-dev')
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('SKIP')
+conflicts=("${_gitname}-git" "${_gitname}-bin")
build() {
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${_gitname}
make -j$(nproc)
}
package() {
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${_gitname}
make DESTDIR="${pkgdir}" prefix="/usr" install
}