summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Gorski2019-11-06 00:08:49 +0100
committerPiotr Gorski2019-11-06 00:08:49 +0100
commit4cee4ba92c0c45c4bd8ca008e7de2f13050490e4 (patch)
treef31d5778a8a749387b395a282054b09ad403ad58
parent442af7ebe39a29fd1a3007a82976ad7148948835 (diff)
downloadaur-4cee4ba92c0c45c4bd8ca008e7de2f13050490e4.tar.gz
Use a more readable timestamp
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b39c952609..b1ccdc14c97 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-rt-bfq
pkgver = 5.2.21.rt13
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/sirlucjan/bfq-mq-lucjan
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index ec8f15379c0..6bf2acff114 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,7 +54,7 @@ _rtpatchver=rt${_rtver}
pkgver=${_major}.${_minor}.${_rtpatchver}
_pkgver=${_major}.${_minor}
_srcname=linux-${_pkgver}
-pkgrel=4
+pkgrel=5
arch=('x86_64')
url="https://github.com/sirlucjan/bfq-mq-lucjan"
license=('GPL2')
@@ -86,7 +86,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
-export KBUILD_BUILD_TIMESTAMP="@${SOURCE_DATE_EPOCH:-$(date +%s)}"
+export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
prepare() {
cd $_srcname