Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
7eab7f06
Commit
7eab7f06
authored
7 years ago
by
Roberto Oliveira
Committed by
Natanael Copa
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/atril: upgrade to 1.19.0 and modernize APKBUILD
parent
4a72d257
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/atril/APKBUILD
+9
-20
9 additions, 20 deletions
community/atril/APKBUILD
with
9 additions
and
20 deletions
community/atril/APKBUILD
+
9
−
20
View file @
7eab7f06
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname
=
atril
pkgver
=
1.1
8
.0
pkgrel
=
1
pkgver
=
1.1
9
.0
pkgrel
=
0
pkgdesc
=
"A document viewer for MATE"
url
=
"https://github.com/mate-desktop/atril"
arch
=
"all"
...
...
@@ -12,37 +12,26 @@ depends_dev=""
makedepends
=
"
$depends_dev
intltool glib-dev gtk+2.0-dev mate-desktop-dev
dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev
poppler-dev tiff-dev itstool libxml2-utils libxml2-dev"
install
=
""
subpackages
=
"
$pkgname
-dev
$pkgname
-doc
$pkgname
-lang"
source
=
"http://pub.mate-desktop.org/releases/
${
pkgver
%.*
}
/
$pkgname
-
$pkgver
.tar.xz"
_builddir
=
"
$srcdir
/
$pkgname
-
$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
\
--sysconfdir
=
/etc
\
--enable-epub
\
--with-gtk
=
2.0
\
--prefix
=
/usr
||
return
1
make
||
return
1
--prefix
=
/usr
make
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
${
pkgdir
}
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
${
pkgdir
}
"
install
}
sha512sums
=
"
71e40faebfac08c60c90e7c919d2274976a5f03e6f9c6882fe81d4736152c14b1baf45da770f357030708d103203a4ffc47387c736c4df8737dfc5caf1fd466a
atril-1.1
8
.0.tar.xz"
sha512sums
=
"
1f1b90189665a79542d9ed3ba82174b4cbbc602a14bb5c07a3bfa400657e9c5c108b04a7f76ec5be390cf4b848b6cb8725c01829398e3852b811b8ffa7fe426c
atril-1.1
9
.0.tar.xz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment