diff options
author | Tinu Weber | 2017-06-13 19:32:13 +0200 |
---|---|---|
committer | Tinu Weber | 2017-06-13 19:32:13 +0200 |
commit | 0bcba39f2fb7ebd8e427ed8456c538798e3b5494 (patch) | |
tree | 135b4bbab56c322444ba423bffc72a48a3680384 | |
parent | c60d17a63dc63268b4021efc40ecf637a0e6ad8b (diff) | |
download | aur-0bcba39f2fb7ebd8e427ed8456c538798e3b5494.tar.gz |
Install `menu` command as is
It's closer to upstream, handier to type, and I haven't found any
official package where this would conflict with.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = epfl-menu-git pkgdesc = Pretty-print the lunch and supper menus at the EPFL pkgver = r16.2406823 - pkgrel = 3 + pkgrel = 4 url = https://github.com/gcmalloc/epfl-menu arch = any license = custom:Beerware @@ -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 } |