Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
815
Issues
815
List
Boards
Labels
Milestones
Merge Requests
58
Merge Requests
58
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
02fba293
Commit
02fba293
authored
Feb 16, 2018
by
Roberto Oliveira
Committed by
Sören Tempel
Feb 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/gnuchess: modernize APKBUILD
parent
a1bdc020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
21 deletions
+7
-21
main/gnuchess/APKBUILD
main/gnuchess/APKBUILD
+7
-21
No files found.
main/gnuchess/APKBUILD
View file @
02fba293
...
...
@@ -2,32 +2,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
gnuchess
pkgver
=
6.2.5
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The GNU chess program"
url
=
"https://www.gnu.org/software/chess/"
arch
=
"all"
license
=
"GPL-3.0-or-later"
depends
=
makedepends
=
install
=
""
subpackages
=
"
$pkgname
-doc"
source
=
"ftp://ftp.gnu.org/pub/gnu/chess/gnuchess-
$pkgver
.tar.gz
uclibc.patch
"
_builddir
=
"
$srcdir
"
/gnuchess-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -35,14 +22,13 @@ build() {
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
\
||
return
1
make
||
return
1
--localstatedir
=
/var
make
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"f3f65a85eb4c93f6f10c7058bde7ee7f4a48c2f465b24a7cc0d5bcafe4df186b434ce23bf8c032d012efffba39c6c3c60ada484ff22d87114ce2be5dd0da6835 gnuchess-6.2.5.tar.gz
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment