summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 671397e98d5..871459614a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=douane-dkms-git
pkgver=1
-pkgrel=1
+pkgrel=2
pkgdesc="Douane Firewall Kernel Module (DKMS)"
arch=('i686' 'x86_64')
url="http://douaneapp.com/"
@@ -11,10 +11,10 @@ install=${pkgname}.install
source=('git+https://github.com/Douane/douane-dkms.git'
"${pkgname}.install")
md5sums=('SKIP'
- 'ab6d49e4449e5647ca5c58021674ae82')
+ '3754DB1C07F0F21AB3A3A167138DD791')
pkgver() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/douane-dkms"
# Use the tag of the last commit
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
@@ -22,16 +22,16 @@ pkgver() {
package() {
# Install
- cd "$srcdir/$pkgname"
+ cd "$srcdir/douane-dkms"
# Copy dkms.conf
install -Dm644 dkms.conf "${pkgdir}"/usr/src/${pkgname}-${pkgver}/dkms.conf
- # Set name and version
+ # Set name and versionz
sed -e "s/@_PKGBASE@/${_pkgbase}/" \
-e "s/@PKGVER@/${pkgver}/" \
-i "${pkgdir}"/usr/src/${pkgname}-${pkgver}/dkms.conf
-for i in "${srcdir}/${pkgname}/"{Makefile,douane.c,network_activity_message.h}; do
+ for i in "${srcdir}/douane-dkms/"{Makefile,douane.c,network_activity_message.h}; do
install -D -m644 "${i}" "${pkgdir}/usr/src/${pkgname}-${pkgver}/"
done
}