makedeb
Optimize PNGs and convert other lossless formats to PNG
Click here to go back to the commit logs for pngoptimizer.
Hash: eec7397ae398456772092222b6dcc00225af609c
Message: Unswitched to Git
diff --git a/.SRCINFO b/.SRCINFO
index a8e7cf1..7b7dbb6 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 = 3
+ pkgrel = 4
url = https://github.com/hadrien-psydk/pngoptimizer
arch = x86_64
license = GPL
makedepends = build-essential
makedepends = libgtk-3-dev
- source = git+https://github.com/hadrien-psydk/pngoptimizer.git
- sha256sums = SKIP
+ source = pngoptimizer-2.7.tar.gz::https://github.com/hadrien-psydk/pngoptimizer/archive/v2.7.tar.gz
+ sha256sums = 63c290a80931a3ef2d30e772250769aae298e44903c4466867ff7a3bd41ecf12
pkgname = pngoptimizer
diff --git a/PKGBUILD b/PKGBUILD
index 45f06f0..f3c9233 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@
pkgname="pngoptimizer"
pkgver="2.7"
-pkgrel="3"
+pkgrel="4"
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=("git+${url}.git")
-sha256sums=('SKIP')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('63c290a80931a3ef2d30e772250769aae298e44903c4466867ff7a3bd41ecf12')
build() {
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${pkgname}-${pkgver}
make -j$(nproc)
}
package() {
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" prefix="/usr" install
}