[arch-commits] Commit in gyp/repos/extra-any (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Sep 20 15:36:20 UTC 2019
Date: Friday, September 20, 2019 @ 15:36:20
Author: heftig
Revision: 363160
archrelease: copy trunk to extra-any
Added:
gyp/repos/extra-any/PKGBUILD
(from rev 363159, gyp/trunk/PKGBUILD)
Deleted:
gyp/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++++++++-------------------------
1 file changed, 32 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-20 15:36:19 UTC (rev 363159)
+++ PKGBUILD 2019-09-20 15:36:20 UTC (rev 363160)
@@ -1,25 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=gyp
-pkgver=20170609
-pkgrel=3
-pkgdesc='"Generate Your Projects" Meta-Build system'
-arch=(any)
-url="https://gyp.gsrc.io/"
-license=(custom:BSD)
-depends=(python2-setuptools ninja)
-makedepends=(git)
-_commit=a478c1ab51ea3e04e79791ac3d1dad01b3f57434 # changes/21/487521/4
-source=("git+https://chromium.googlesource.com/external/gyp#commit=$_commit")
-sha256sums=('SKIP')
-
-build() {
- cd $pkgname
- python2 setup.py build
-}
-
-package() {
- cd $pkgname
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: gyp/repos/extra-any/PKGBUILD (from rev 363159, gyp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-20 15:36:20 UTC (rev 363160)
@@ -0,0 +1,32 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=gyp
+pkgver=20190716.fcd686f1
+pkgrel=1
+pkgdesc='"Generate Your Projects" Meta-Build system'
+arch=(any)
+url="https://gyp.gsrc.io/"
+license=(custom:BSD)
+depends=(python-setuptools ninja)
+makedepends=(git)
+_commit=fcd686f1880fa52a1ee78d3e98af1b88cb334528 # changes/82/1701782/5
+source=("git+https://chromium.googlesource.com/external/gyp#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+
+ # Commit date + short rev
+ echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd $pkgname
+ python setup.py build
+}
+
+package() {
+ cd $pkgname
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}
More information about the arch-commits
mailing list