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

Daniel M. Capella polyzen at archlinux.org
Tue Jul 14 03:56:40 UTC 2020


    Date: Tuesday, July 14, 2020 @ 03:56:39
  Author: polyzen
Revision: 663573

upgpkg: atomicparsley 20200701.154658.b0d6223-1

Modified:
  atomicparsley/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 03:54:15 UTC (rev 663572)
+++ PKGBUILD	2020-07-14 03:56:39 UTC (rev 663573)
@@ -1,32 +1,25 @@
 # Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
 
 pkgname=atomicparsley
-pkgver=0.9.6
+pkgver=20200701.154658.b0d6223
 pkgrel=1
-
-pkgdesc="A command line program for reading, parsing and setting iTunes-style metadata in MPEG4 files"
-url="http://atomicparsley.sourceforge.net/"
+pkgdesc='Command line program for reading, parsing and setting metadata in MPEG-4 files'
 arch=('x86_64')
+url=https://github.com/wez/atomicparsley
 license=('GPL')
-
 depends=('gcc-libs' 'zlib')
+makedepends=('cmake')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('a7591a4afb5e96c1aa1207fa307f92dac46ae1194de00b822f43680555bd0ebefb50baa1ace848beb5772e50c16b9cbc7d4cb5e19f0c07fab0c18fbbb0b9babf')
 
-source=(atomicparsley-$pkgver.tar.gz::https://bitbucket.org/wez/atomicparsley/get/$pkgver.tar.gz)
-
-sha512sums=('8bf7982dd34b8b38a08508229ae877144149ac0d9feb97e52dac9606a37de570751e4e4b154baa4beb2ce7236297164f3edb42bb8a6c493a624db531cc4de1d2')
-
-prepare() {
-  cd wez-atomicparsley-da2f6e4fc120
-  ./autogen.sh
-}
-
 build() {
-  cd wez-atomicparsley-da2f6e4fc120
-  ./configure --prefix=/usr
+  cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None .
   make
 }
 
 package() {
-  cd wez-atomicparsley-da2f6e4fc120
-  make DESTDIR="$pkgdir" install
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin AtomicParsley
 }


More information about the arch-commits mailing list