summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Batalha2022-11-16 20:42:05 +0000
committerLuis Batalha2022-11-16 20:42:05 +0000
commit19ed8bb75a6bb5b0d88f7cafc3efdff94e429cc8 (patch)
tree49ee83b77599ff459b2007c9792802b1feec8595
parentc52eaa7f81ffeb0376527c7afef1e46a0da516cd (diff)
downloadaur-19ed8bb75a6bb5b0d88f7cafc3efdff94e429cc8.tar.gz
use make, remove commit pinning
-rw-r--r--PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 92140380674a..d4547a6646e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,5 @@
# Maintainer: Luis Batalha <lfrb25 at gmail dot com>
-commit_hash=09d144f89264342901250d280b5a7905748fa66f
source_dir='qoi'
pkgname=(qoi-headers-git
@@ -8,13 +7,13 @@ pkgname=(qoi-headers-git
qoibench-git
)
pkgbase=qoi-git
-pkgver=r192.09d144f
-pkgrel=2
+pkgver=r276.660839c
+pkgrel=1
pkgdesc="The 'Quite OK Image' format for fast, lossless image compression"
arch=('x86_64')
url='https://qoiformat.org/'
license=('MIT')
-source=("$source_dir::git+https://github.com/phoboslab/qoi.git#commit=$commit_hash")
+source=("$source_dir::git+https://github.com/phoboslab/qoi.git")
makedepends=('git'
'gcc-libs'
'stb'
@@ -29,8 +28,7 @@ pkgver() {
build() {
cd $source_dir
- gcc -std=gnu99 -lpng -I /usr/include/stb/ $CFLAGS -o qoibench qoibench.c
- gcc -std=c99 $CFLAGS -I /usr/include/stb/ -o qoiconv qoiconv.c
+ make CFLAGS="-I /usr/include/stb/"
}
package_qoi-headers-git() {