summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNick Cao2020-06-12 12:00:47 +0800
committerNick Cao2020-06-12 12:00:47 +0800
commitbc0cc4aa629e08702842c1934ca8b1edeb65f5ef (patch)
treef4522759bac7c2fa87a357a2c054748d31d26a4a /PKGBUILD
parentbd09b9fcdc314e1b46e585c1e5690dd4bfc92a1c (diff)
downloadaur-bc0cc4aa629e08702842c1934ca8b1edeb65f5ef.tar.gz
bump version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cdee4958e90..6a7eb11caf9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,26 @@
pkgbase=jool
pkgname=(jool-tools jool-dkms)
-pkgver=4.0.7
-pkgrel=5
+pkgver=4.0.9
+pkgrel=1
pkgdesc="Open Source SIIT and NAT64 for Linux."
arch=('x86_64')
url="https://www.jool.mx"
license=('GPL2')
+makedepends=('libnl' 'iptables')
source=("https://github.com/NICMx/Jool/releases/download/v${pkgver}/jool-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/ydahhrk/packaging/master/Jool/debian/jool-tools.jool.service"
"https://raw.githubusercontent.com/ydahhrk/packaging/master/Jool/debian/jool-tools.jool_siit.service")
-sha512sums=('adc269c75b7195fbb6de04ecc50824b464644bcaf1ba00634912cbdc21308b872273f4dc5b866f2af9dfd58fedf624e77e0ddaf68403447e6749f7fd0e50146f'
+sha512sums=('906b8e6af43c0bb15a9302cef0721a6112820e3c474285c8ae8e1d5c8eda815881cbdfd554a1a98c48b6ed138572b5a8001c5fe3443111888d1dbe685bb0df20'
'd3f6b88d4551c501455f1c1f8c33b7fbc667ae3d69c1793d230dcfc7b7b96fda46ac18449cacde54121e69f08de9a8eb97a5927b540381274b966cdeb3a84690'
'4078ea3a99831c7aa8d7b8d05529f27aaa7289a8cfae90d122fe69d782a30ea4d31f8f71a9edcdcec774b12cd329123607522640fcfc4eac4b588bbec70b5d92')
prepare() {
- cp -a jool-${pkgver} jool-dkms-${pkgver}
+ cp -a "${pkgbase}-${pkgver}" "${pkgbase}-${pkgver}-dkms"
}
build() {
- cd jool-${pkgver}
+ cd "${pkgbase}-${pkgver}"
./configure --prefix=/usr
make
}
@@ -28,10 +29,10 @@ build() {
package_jool-tools() {
pkgdesc="Open Source SIIT and NAT64 for Linux. - Userspace tools and libraries"
depends=('libnl')
- cd jool-${pkgver}
+ cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
- install -D -m0644 "${srcdir}"/jool-tools.jool.service "${pkgdir}"/usr/lib/systemd/system/jool.service
- install -D -m0644 "${srcdir}"/jool-tools.jool_siit.service "${pkgdir}"/usr/lib/systemd/system/jool_siit.service
+ install -D -m0644 "${srcdir}/jool-tools.jool.service" "${pkgdir}/usr/lib/systemd/system/jool.service"
+ install -D -m0644 "${srcdir}/jool-tools.jool_siit.service" "${pkgdir}/usr/lib/systemd/system/jool_siit.service"
}
package_jool-dkms() {
@@ -39,7 +40,6 @@ package_jool-dkms() {
depends=('dkms')
optdepends=('linux-headers: Build the module for Arch kernel'
'linux-lts-headers: Build the module for LTS Arch kernel')
- install -dm 755 "${pkgdir}"/usr/src
- cp -dr --no-preserve='ownership' jool-dkms-${pkgver} "${pkgdir}/usr/src/jool-${pkgver}"
+ install -dm 755 "${pkgdir}/usr/src"
+ cp -a --no-preserve='ownership' "${pkgbase}-${pkgver}-dkms" "${pkgdir}/usr/src/jool-${pkgver}"
}
-