[arch-commits] Commit in libheif/trunk (PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Wed Mar 16 08:22:15 UTC 2022


    Date: Wednesday, March 16, 2022 @ 08:22:14
  Author: eworm
Revision: 439739

update formatting

Modified:
  libheif/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-16 07:35:58 UTC (rev 439738)
+++ PKGBUILD	2022-03-16 08:22:14 UTC (rev 439739)
@@ -1,26 +1,30 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Christian Hesse <mail at eworm.de>
 # Contributor: Adam Fontenot <fontenot at ucla.edu>
 
 pkgname=libheif
 pkgver=1.12.0
 pkgrel=3
-pkgdesc="HEIF file format decoder and encoder"
-arch=(x86_64)
-url="https://github.com/strukturag/libheif"
-license=(GPL3)
-makedepends=(libjpeg libpng gdk-pixbuf2)
-depends=(libde265 x265 aom)
-optdepends=('libjpeg: for heif-convert and heif-enc' 'libpng: for heif-convert and heif-enc')
-source=(https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz)
+pkgdesc='HEIF file format decoder and encoder'
+arch=('x86_64')
+url='https://github.com/strukturag/libheif'
+license=('GPL3')
+makedepends=('libjpeg' 'libpng' 'gdk-pixbuf2')
+depends=('libde265' 'x265' 'aom')
+optdepends=('libjpeg: for heif-convert and heif-enc'
+            'libpng: for heif-convert and heif-enc')
+source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/libheif-${pkgver}.tar.gz")
 sha256sums=('e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --enable-static=no
+  cd "${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --enable-static=no
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list