summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12019-04-17 18:46:26 +0800
committerChocobo12019-04-17 18:46:26 +0800
commit88f6107315ed1bc232f3a1cef3bf266a96fb5e92 (patch)
tree587a0f112d525dcdae8aaf788cd940aae0437e04
parenteec7044f9963094bb5532a2c6e7dcf9244acb81e (diff)
downloadaur-88f6107315ed1bc232f3a1cef3bf266a96fb5e92.tar.gz
upgpkg: ufw-git r1765.g1e5cc76-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ea549fb0d0..3b82e0814ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ufw-git
pkgdesc = Uncomplicated firewall
- pkgver = r1620.gcbfd469
+ pkgver = r1765.g1e5cc76
pkgrel = 1
url = https://launchpad.net/ufw
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index e359ba64120..af30eb302da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=ufw-git
-pkgver=r1620.gcbfd469
+pkgver=r1765.g1e5cc76
pkgrel=1
pkgdesc="Uncomplicated firewall"
arch=('any')
@@ -50,6 +50,9 @@ pkgver() {
package() {
cd "ufw"
- python setup.py install --root="$pkgdir"
+ python "setup.py" install \
+ --optimize 1 \
+ --root "$pkgdir"
+
install -Dm644 "$srcdir/ufw.service" "$pkgdir/usr/lib/systemd/system/ufw.service"
}