diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 } |