mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 09:22:12 +08:00
opam: imported FS1845
This commit is contained in:
parent
37315352b0
commit
618ccde03f
22
opam/PKGBUILD
Normal file
22
opam/PKGBUILD
Normal file
@ -0,0 +1,22 @@
|
||||
pkgname=opam
|
||||
pkgver=1.2.2
|
||||
pkgrel=1
|
||||
pkgdesc="OCaml Package Manager"
|
||||
arch=('x86_64')
|
||||
url="http://opam.ocaml.org"
|
||||
license=('GPL')
|
||||
depends=('ocaml')
|
||||
source=("https://github.com/ocaml/opam/releases/download/${pkgver}/opam-full-${pkgver}.tar.gz")
|
||||
sha1sums=('415ff0506378ab8dfa428fcd0aff3aa28337d93b')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/opam-full-${pkgver}
|
||||
./configure --prefix=/usr
|
||||
make -j1 lib-ext
|
||||
make -j1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/opam-full-${pkgver}
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user