diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -12,7 +12,7 @@ pkgbase=linux-libre _supver=5 _majver=3 -_minver=8 +_minver=9 _gccpatchver='20190822' if [ "$_minver" == "0" ]; then pkgver=${_supver}.${_majver} @@ -20,6 +20,7 @@ _gccpatchver='20190822' pkgver=${_supver}.${_majver}.${_minver} fi pkgrel=1 +pkgdesc='Linux-libre' url='https://linux-libre.fsfla.org/' arch=(x86_64) license=(GPL2) @@ -48,7 +49,7 @@ validpgpkeys=( ) sha256sums=('c50879645e8f13a6a39a86748a8cd259b4ecd2191c88ef772b4432c993820c0a' 'SKIP' - '1741f9e31b882496addadb9bc6f212a32502ad0904a14b7b6c57ddd16b6258d0' + '26124aed2f2630c726fe3dcf75eac9b104e767f67d69776c1e73c01152872a8b' 'SKIP' 'e862ecd2cb0b20e1859ec3e47616457a9a3acb111cd5a86094f9ed1dbd7f42ac' '9b92add42581aeb427a0c2cffc584815f0e4223a1a6bc27802ccd77eaf6e4bec' @@ -60,7 +61,7 @@ sha256sums=('c50879645e8f13a6a39a86748a8cd259b4ecd2191c88ef772b4432c993820c0a' #export KBUILD_BUILD_HOST=arc4linux 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 @@ -144,7 +145,7 @@ build() { } _package() { - pkgdesc="The ${pkgbase/linux/Linux} kernel and modules" + pkgdesc="The $pkgdesc kernel and modules" depends=(coreutils kmod initramfs) optdepends=('crda: to set the correct wireless channels of your country' 'linux-libre-firmware: firmware images needed for some devices') @@ -172,7 +173,7 @@ _package() { } _package-headers() { - pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel" + pkgdesc="Header files and scripts for building modules for $pkgdesc kernel" cd $_srcname local builddir="$pkgdir/usr/lib/modules/$(<version)/build" @@ -252,7 +253,7 @@ _package-headers() { } _package-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel" + pkgdesc="Kernel hackers manual - HTML documentation that comes with the $pkgdesc kernel" cd $_srcname local builddir="$pkgdir/usr/lib/modules/$(<version)/build" @@ -261,8 +262,8 @@ _package-docs() { mkdir -p "$builddir" cp -t "$builddir" -a Documentation - msg2 "Removing doctrees..." - rm -r "$builddir/Documentation/output/.doctrees" + msg2 "Removing unneeded files..." + rm -rv "$builddir"/Documentation/{,output/}.[^.]* msg2 "Moving HTML docs..." local src dst |