makedeb
Optimize PNGs and convert other lossless formats to PNG
Click here to go back to the commit logs for pngoptimizer.
Hash: 5656505ddc135805a05f3b50d2b602cfee75c553
Message: Switched to Git
diff --git a/.SRCINFO b/.SRCINFO
index 73db839..a8e7cf1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,13 +3,13 @@ generated-by = makedeb-makepkg
pkgbase = pngoptimizer
pkgdesc = Optimize PNGs and convert other lossless formats to PNG
pkgver = 2.7
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/hadrien-psydk/pngoptimizer
arch = x86_64
license = GPL
makedepends = build-essential
makedepends = libgtk-3-dev
- source = pngoptimizer-2.7.tar.gz::https://github.com/hadrien-psydk/pngoptimizer/archive/v2.7.tar.gz
- sha256sums = 63c290a80931a3ef2d30e772250769aae298e44903c4466867ff7a3bd41ecf12
+ source = git+https://github.com/hadrien-psydk/pngoptimizer.git
+ sha256sums = SKIP
pkgname = pngoptimizer
diff --git a/PKGBUILD b/PKGBUILD
index accb8eb..45f06f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,22 @@
pkgname="pngoptimizer"
pkgver="2.7"
-pkgrel="2"
+pkgrel="3"
pkgdesc="Optimize PNGs and convert other lossless formats to PNG"
arch=('x86_64')
url="https://github.com/hadrien-psydk/pngoptimizer"
license=('GPL')
makedepends=('build-essential' 'libgtk-3-dev')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('63c290a80931a3ef2d30e772250769aae298e44903c4466867ff7a3bd41ecf12')
+source=("git+${url}.git")
+sha256sums=('SKIP')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}
make -j$(nproc)
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}
make DESTDIR="${pkgdir}" prefix="/usr" install
}
-