Skip to content

Commit

Permalink
Merge pull request #3 from taotieren/aur
Browse files Browse the repository at this point in the history
Add AUR
  • Loading branch information
YuzukiTsuru authored Dec 21, 2023
2 parents 5a76f55 + 3c5246a commit f643e1e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ FEL is a low-level subroutine contained in the [BootROM](https://linux-sunxi.org
- Qt6
- libusb
- xfel

## Arch Linux

- [yfel-git](https://aur.archlinux.org/packages/yfel-git)

```bash
yay -Syu yfel-git
```
18 changes: 18 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,21 @@ if (WIN32)
endforeach (QT_LIB)
endif ()
endif ()

install(TARGETS YFEL
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)

install(FILES ${PROJECT_BINARY_DIR}/yfel_config.h
DESTINATION ${CMAKE_INSTALL_PREFIX}/include)

install(FILES ${qm_files}
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/locale)

install(FILES ${PROJECT_SOURCE_DIR}/assets/applications/io.github.yuzukitsuru.yfel.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)

install(FILES ${PROJECT_SOURCE_DIR}/assets/img/yfel.png
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)

12 changes: 12 additions & 0 deletions src/assets/applications/io.github.yuzukitsuru.yfel.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application

Name=YFEL
Comment="AYet another Allwinner FEL Toolkit"
Comment[zh_CN]="又一个 Allwinner FEL 工具箱"
Categories=Development;Electronics;

Icon=yfel
Exec=yfel
Terminal=false
Binary file added src/assets/img/yfel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f643e1e

Please sign in to comment.