diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..769c9b477d57 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = corels + pkgdesc = Certifiably Optimal Rule Lists. C-library to build a certifiably optimal rule list from input data and labels. + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/nlarusstone/corels + arch = i686 + arch = x86_64 + license = GPL + depends = gsl + depends = gmp + source = https://github.com/margoseltzer/corels-homebrew/files/1441466/corels-1.0.tar.gz + sha256sums = 013fd81472759a4e8f7ae8dec9ce4a9769286d41cd3ff33c5fc9bfb668a70b7d + +pkgname = corels + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3eea9769fe9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Aditya Saligrama <saligrama427@gmail.com> +pkgname=corels +pkgver=1.0 +pkgrel=1 +pkgdesc="Certifiably Optimal Rule Lists. C-library to build a certifiably optimal rule list from input data and labels." +arch=('i686' 'x86_64') +url="https://github.com/nlarusstone/corels" +license=('GPL') +groups=() +depends=('gsl' 'gmp') +makedepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/margoseltzer/corels-homebrew/files/1441466/corels-1.0.tar.gz") +noextract=() +sha256sums=("013fd81472759a4e8f7ae8dec9ce4a9769286d41cd3ff33c5fc9bfb668a70b7d") + +build() { + cd "$pkgname-$pkgver" + + ./configure --prefix=/usr +} + +package() { + cd "$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} |