Source

linux-pf / PKGBUILD

The default branch has multiple heads

Diff from to
 pkgname=('linux-pf')
 true && pkgname=('linux-pf' 'linux-pf-headers')
 pkgver=${_basekernel}.${_pfrel}
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://pf.natalenko.name/"
 license=('GPL2')
   # remove unneeded architectures
   rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
 # end c/p
+
+# Add version.h for dumb binary blob installers which aren't
+  cd "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
+  ln -s ../generated/uapi/linux/version.h
 }
 
 # Work around the AUR parser