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
813
Issues
813
List
Boards
Labels
Milestones
Merge Requests
49
Merge Requests
49
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
6215d643
Commit
6215d643
authored
Aug 30, 2017
by
Roberto Oliveira
Committed by
Francesco Colista
Aug 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/enca: modernize APKBUILD and add check
parent
a655c0c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
APKBUILD
main/enca/APKBUILD
+12
-13
No files found.
main/enca/APKBUILD
View file @
6215d643
...
...
@@ -2,20 +2,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
enca
pkgver
=
1.19
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Charset analyser and converter"
url
=
"http://freshmeat.net/projects/enca/"
arch
=
"all"
license
=
"GPL"
depends
=
""
makedepends
=
""
install
=
""
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"http://dl.cihar.com/
${
pkgname
}
/
${
pkgname
}
-
${
pkgver
}
.tar.xz"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
@@ -24,17 +22,18 @@ build() {
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--libexecdir
=
/usr/lib
\
--enable-external
\
||
return
1
--enable-external
make
}
make
||
return
1
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"a7a0c152658e012db701a48ae8b79525 enca-1.19.tar.xz"
sha256sums
=
"3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8 enca-1.19.tar.xz"
sha512sums
=
"6678639992685180457bbef7b0da6e475071ec6935dfd672188fc242ef80b906e75eff9a206e07989893d0ef4ae5eb500f1d0bbd6b4d58146c94bb143b5fb296 enca-1.19.tar.xz"
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