mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 01:44:38 +08:00
33 lines
994 B
Bash
33 lines
994 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
pkgname=rubiks
|
|
pkgver=20070912
|
|
pkgrel=1
|
|
pkgdesc="Several programs for working with Rubik's cubes"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.sagemath.org"
|
|
license=('GPL')
|
|
depends=('gcc-libs')
|
|
makedepends=()
|
|
source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'dietz-cu2-Makefile' 'dietz-mcube-Makefile' 'dietz-solver-Makefile' 'reid-Makefile')
|
|
md5sums=('af005309b248f0bba49673a0e5ba3ce8'
|
|
'817c6fccae52a5f4c839153ef5d7419f'
|
|
'296780d7921fbdbefeef59e37770b8ce'
|
|
'8bd416351a0e1e80078832270e7c9690'
|
|
'3a1f748d4a556c2d0440b52cf715b38b')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
cp $srcdir/dietz-mcube-Makefile dietz/mcube/Makefile
|
|
cp $srcdir/dietz-solver-Makefile dietz/solver/Makefile
|
|
cp $srcdir/dietz-cu2-Makefile dietz/cu2/Makefile
|
|
cp $srcdir/reid-Makefile reid/Makefile
|
|
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
INSTALL=/usr/bin/install make PREFIX="$pkgdir"/usr install
|
|
}
|