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

Balló György bgyorgy at archlinux.org
Sat May 1 21:15:30 UTC 2021


    Date: Saturday, May 1, 2021 @ 21:15:29
  Author: bgyorgy
Revision: 926050

Minor changes

Modified:
  tvtime/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-01 21:08:55 UTC (rev 926049)
+++ PKGBUILD	2021-05-01 21:15:29 UTC (rev 926050)
@@ -5,7 +5,7 @@
 pkgname=tvtime
 pkgver=1.0.11
 pkgrel=4
-pkgdesc="High quality television application for use with video capture cards"
+pkgdesc='High quality television application for use with video capture cards'
 arch=('x86_64')
 url='https://linuxtv.org/'
 license=('GPL')
@@ -13,9 +13,9 @@
 makedepends=('imagemagick')
 source=("https://linuxtv.org/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
         "tvtime-icon-100x100.png::https://git.linuxtv.org/tvtime.git/plain/docs/tvtime-icon-100x100.png?id=v$pkgver"
-        freetype.patch
-        0001-Fix-warning-implicit-declaration-of-function-minor-m.patch
-        0001-Fix-AppStream-metadata-validation.patch)
+        'freetype.patch'
+        '0001-Fix-warning-implicit-declaration-of-function-minor-m.patch'
+        '0001-Fix-AppStream-metadata-validation.patch')
 sha256sums=('403bf2106578b1f3d6ce70bc08654f7a90753f19e27b4cc170bc636307cdc78c'
             'b6342cebcf981f3e2119c36e74403d2b4f6f73910fc4b84925a1df038ddc37f1'
             'a29e800114d35c5b2bec24b637fb6ac861f1f2246ecf1437fe4aaab6df6eb040'
@@ -23,6 +23,9 @@
             '40f7c01dadcc8521ac3ce9cbc269829868383396f4c511a47538bccf9b5952f4')
 
 prepare() {
+  convert tvtime-icon-100x100.png +set date:create +set date:modify -resize 64x64 -alpha on tvtime-icon-64x64.png
+  convert tvtime-icon-100x100.png +set date:create +set date:modify -resize 96x96 -alpha on tvtime-icon-96x96.png
+
   cd $pkgname-$pkgver
 
   # Fix build
@@ -45,8 +48,7 @@
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
-  install -Dm644 docs/html/default.tvtime.xml "$pkgdir"/usr/share/tvtime/default.tvtime.xml
-  install -dm755 "$pkgdir"/usr/share/icons/hicolor/{64x64,96x96}/apps/
-  convert ../tvtime-icon-100x100.png +set date:create +set date:modify -resize 64x64 -alpha on "$pkgdir/usr/share/icons/hicolor/64x64/apps/tvtime.png"
-  convert ../tvtime-icon-100x100.png +set date:create +set date:modify -resize 96x96 -alpha on "$pkgdir/usr/share/icons/hicolor/96x96/apps/tvtime.png"
+  install -Dm644 ../tvtime-icon-64x64.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/tvtime.png"
+  install -Dm644 ../tvtime-icon-96x96.png "$pkgdir/usr/share/icons/hicolor/96x96/apps/tvtime.png"
+  install -Dm644 docs/html/default.tvtime.xml "$pkgdir/usr/share/tvtime/default.tvtime.xml"
 }



More information about the arch-commits mailing list