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

Maxime Gauduin alucryd at archlinux.org
Sat Dec 5 17:40:16 UTC 2020


    Date: Saturday, December 5, 2020 @ 17:40:15
  Author: alucryd
Revision: 402903

amf-headers 1.4.18-2: initial commit

Modified:
  amf-headers/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-05 17:34:09 UTC (rev 402902)
+++ PKGBUILD	2020-12-05 17:40:15 UTC (rev 402903)
@@ -8,10 +8,17 @@
 arch=(any)
 url=https://github.com/GPUOpen-LibrariesAndSDKs/AMF/
 license=(MIT)
+makedepends=(git)
 _tag=7a83513f8a0c9f2b2b6270dbb294cd942d27a499
 source=(git+https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git#tag=${_tag})
 b2sums=(SKIP)
 
+pkgver() {
+  cd AMF
+
+  git describe --tags | sed 's/^v//'
+}
+
 package() {
   install -dm 755 "${pkgdir}"/usr/include
   cp -dr --no-preserve=ownership AMF/amf/public/include "${pkgdir}"/usr/include/AMF



More information about the arch-commits mailing list