Skip to content

Commit

Permalink
Merge pull request #1918 from mariux64/fix-luit
Browse files Browse the repository at this point in the history
luit: fix SRCURL
  • Loading branch information
wwwutz authored Sep 30, 2020
2 parents 34c10bc + edd6056 commit 612f5a2
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 93 deletions.
93 changes: 0 additions & 93 deletions luit-1.1.1-0.bee

This file was deleted.

43 changes: 43 additions & 0 deletions luit.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env beesh

# BEE_VERSION luit-1.1.1-1

# SRCURL[0]="http://xorg.freedesktop.org/releases/individual/app/luit-${PKGVERSION}.tar.bz2"
SRCURL[0]="https://beehive.molgen.mpg.de/c4a3664e08e5a47c120ff9263ee2f20c/luit-1.1.1.tar.bz2"

# PATCHURL+=()

# EXCLUDE+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_patch_post() {
line1="#ifdef _XOPEN_SOURCE"
line2="# undef _XOPEN_SOURCE"
line3="# define _XOPEN_SOURCE 600"
line4="#endif"

sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
}

#mee_configure() {
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

0 comments on commit 612f5a2

Please sign in to comment.