php-codesign-git
This commit is contained in:
24
php-codesign/PKGBUILD
Normal file
24
php-codesign/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Manuel Vögele <aur@manuel-voegele.de>
|
||||
pkgname=php-codesign-git
|
||||
pkgver=r2.5aef37f
|
||||
pkgrel=1
|
||||
|
||||
arch=('any')
|
||||
source=('git+https://git.ccn.li/manuel/php-codesign.git')
|
||||
conflicts=('php-codesign')
|
||||
provides=('php-codesign')
|
||||
makedepends=('git')
|
||||
depends=('php')
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/php-codesign"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/usr/share"
|
||||
cp -r "${srcdir}/php-codesign" "${pkgdir}/usr/share/php-codesign"
|
||||
find "${pkgdir}/usr/share/php-codesign/" -type f -exec chmod 644 {} \;
|
||||
chmod 744 "${pkgdir}/usr/share/php-codesign/generate_allowed_scripts.py"
|
||||
}
|
||||
Reference in New Issue
Block a user