Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bart Ribbers
aports
Commits
86d07a67
Verified
Commit
86d07a67
authored
Nov 18, 2019
by
Bart Ribbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/haskell-libxml: new aport
parent
f71c8d50
Pipeline
#9534
failed with stages
in 44 minutes and 12 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
testing/haskell-libxml/APKBUILD
testing/haskell-libxml/APKBUILD
+39
-0
testing/haskell-libxml/haskell-libxml.post-install
testing/haskell-libxml/haskell-libxml.post-install
+7
-0
testing/haskell-libxml/haskell-libxml.pre-deinstall
testing/haskell-libxml/haskell-libxml.pre-deinstall
+7
-0
No files found.
testing/haskell-libxml/APKBUILD
0 → 100644
View file @
86d07a67
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname
=
haskell-libxml
pkgver
=
0.1.1
pkgrel
=
0
pkgdesc
=
"Binding to libxml2"
url
=
"https://hackage.haskell.org/package/libxml"
arch
=
"x86_64"
license
=
"BSD-3-Clause"
depends
=
"ghc libxml2"
makedepends
=
"libxml2-dev"
options
=
"!tracedeps"
install
=
"
$pkgname
.post-install
$pkgname
.pre-deinstall"
subpackages
=
"
$pkgname
-doc"
source
=
"https://hackage.haskell.org/package/libxml-
$pkgver
/libxml-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/libxml-
$pkgver
"
build
()
{
runhaskell Setup configure
-O
--enable-shared
--enable-executable-dynamic
--disable-library-vanilla
\
--prefix
=
/usr
--docdir
=
/usr/share/doc/
$pkgname
--extra-include-dirs
=
/usr/include/libxml2
\
--dynlibdir
=
/usr/lib
--libsubdir
=
\$
compiler/site-local/
\$
pkgid
\
--enable-tests
runhaskell Setup build
runhaskell Setup register
--gen-script
runhaskell Setup unregister
--gen-script
}
check
()
{
runhaskell Setup
test
}
package
()
{
runhaskell Setup copy
--destdir
=
"
$pkgdir
"
install
-D
-m744
register.sh
"
$pkgdir
"
/usr/share/haskell/register/
$pkgname
.sh
install
-D
-m744
unregister.sh
"
$pkgdir
"
/usr/share/haskell/unregister/
$pkgname
.sh
}
sha512sums
=
"59a52200e7c7ab17a60a89e4a3aefdf6356e868be6be53696e5708a4d30863ae879834404ccfecb91b6d4b93a7ce0e147a3cc04bc4d5838c2aa990a290af5c5c libxml-0.1.1.tar.gz"
testing/haskell-libxml/haskell-libxml.post-install
0 → 100644
View file @
86d07a67
#!/bin/sh
pkgver
=
$1
script
=
$(
basename
$0
)
pkgname
=
${
script
%-
$pkgver
.*
}
/usr/share/haskell/register/
$pkgname
.sh
testing/haskell-libxml/haskell-libxml.pre-deinstall
0 → 100644
View file @
86d07a67
#!/bin/sh
pkgver
=
$1
script
=
$(
basename
$0
)
pkgname
=
${
script
%-
$pkgver
.*
}
/usr/share/haskell/unregister/
$pkgname
.sh
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