dankamongmen / panelreels

high-level objects built atop ncurses
https://nick-black.com/dankwiki/index.php/Outcurses
Apache License 2.0
8 stars 1 forks source link

make an Arch package and add outcurses to AUR #19

Closed dankamongmen closed 5 years ago

dankamongmen commented 5 years ago

Expanding our empire's influence on the AUR...

dankamongmen commented 5 years ago

Actually uploading this to the AUR should probably wait until #2 is confirmed fixed and released, and the new CMake has hit Arch.

dankamongmen commented 5 years ago
# Maintainer: Nick Black <dankamongmen@gmail.com>

pkgname=outcurses
pkgver=0.0.3
pkgrel=1
pkgdesc="High-level UI elements built atop ncurses"
url="https://nick-black.com/dankwiki/index.php/Outcurses"
license=('Apache')
arch=('x86_64')
# ncurses and readline are found without our help. Don't explicitly list them.
# The same goes for device-mapper.
depends=('cryptsetup' 'libatasmart' 'libpciaccess' 'pciutils')
makedepends=('docbook-xsl' 'autoconf-archive' 'libxslt' 'autoconf')
source=("https://github.com/dankamongmen/outcurses/archive/v${pkgver}.tar.gz")

build() {
  cd "$pkgname-$pkgver"
  mkdir build
  cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

sha256sums=('')
dankamongmen commented 5 years ago

https://aur.archlinux.org/packages/outcurses/ outcurses 0.0.4 is in the AUR