mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 09:02:26 +01:00
[add] mcrecover 0.2
This commit is contained in:
commit
2c8c8a15e6
3 changed files with 68 additions and 0 deletions
21
.SRCINFO
Normal file
21
.SRCINFO
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
pkgbase = mcrecover
|
||||
pkgdesc = Utility to recover files from corrupted or reformatted GameCube memory cards (aka GCN MemCard Recover)
|
||||
pkgver = 0.2
|
||||
pkgrel = 1
|
||||
url = http://wiibrew.org/wiki/GCN_MemCard_Recover
|
||||
install = mcrecover.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
makedepends = cmake
|
||||
depends = qt4
|
||||
depends = libpng
|
||||
depends = pcre
|
||||
depends = hicolor-icon-theme
|
||||
source = http://gerbilsoft.soniccenter.org/gc-tools/mcrecover/v0.2/mcrecover-0.2.tar.gz
|
||||
source = http://gerbilsoft.soniccenter.org/gc-tools/mcrecover/v0.2/mcrecover-0.2.tar.gz.asc
|
||||
sha256sums = 6c9897553bae6794c27aab3d1978c50e2d38df6f54e80f06e587f339e6bb66a9
|
||||
sha256sums = 43898f11b2d9012d97685c7637d4a337ff3852c9e4ee9d1c9df12cae5a69543b
|
||||
|
||||
pkgname = mcrecover
|
||||
|
||||
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
|
||||
|
||||
pkgname=mcrecover
|
||||
pkgver=0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Utility to recover files from corrupted or reformatted GameCube memory cards (aka GCN MemCard Recover)"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://wiibrew.org/wiki/GCN_MemCard_Recover"
|
||||
license=('GPL2')
|
||||
depends=('qt4' 'libpng' 'pcre' 'hicolor-icon-theme')
|
||||
makedepends=('cmake')
|
||||
install=$pkgname.install
|
||||
source=("http://gerbilsoft.soniccenter.org/gc-tools/$pkgname/v$pkgver/$pkgname-$pkgver.tar.gz"
|
||||
"http://gerbilsoft.soniccenter.org/gc-tools/$pkgname/v$pkgver/$pkgname-$pkgver.tar.gz.asc")
|
||||
# the checksums are provided by the autor:
|
||||
sha256sums=('6c9897553bae6794c27aab3d1978c50e2d38df6f54e80f06e587f339e6bb66a9'
|
||||
'43898f11b2d9012d97685c7637d4a337ff3852c9e4ee9d1c9df12cae5a69543b')
|
||||
|
||||
prepare() {
|
||||
# reset build folder
|
||||
rm -rf build
|
||||
mkdir build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
|
||||
cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release \
|
||||
-DINSTALL_DEBUG=0
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C build DESTDIR="$pkgdir/" install
|
||||
}
|
||||
12
mcrecover.install
Normal file
12
mcrecover.install
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_update() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue