summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cb1af0d9b7c4..5e8fadecdc45 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=epfl-menu-git
_pkgname=epfl-menu
pkgver=r16.2406823
-pkgrel=3
+pkgrel=4
pkgdesc='Pretty-print the lunch and supper menus at the EPFL'
arch=('any')
url='https://github.com/gcmalloc/epfl-menu'
@@ -26,9 +26,10 @@ build() {
package() {
depends=('python-beautifulsoup4' 'python-urllib3')
+
cd "$srcdir/$_pkgname"
python3 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/menu "$pkgdir"/usr/bin/epfl-menu
+
mkdir -p "$pkgdir"/usr/share/licenses/epfl-menu
head -n 8 epfl/menu.py > "$pkgdir"/usr/share/licenses/epfl-menu/LICENSE
}